Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004201/0.004201, allocations: 102 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 192 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8604/0.8604, allocations: 132.2 MB / 422.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 76.83 kB / 0.5809 GB, free: 24.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1337, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002133/0.1359, allocations: 1.236 MB / 0.6604 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009815/0.1369, allocations: 0.602 MB / 0.661 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.976e-05/0.1369, allocations: 0 / 0.661 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.137, allocations: 3.984 kB / 0.661 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.671e-05/0.137, allocations: 3.984 kB / 0.661 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005047/0.1375, allocations: 139.4 kB / 0.6611 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.506e-05/0.1376, allocations: 7.938 kB / 0.6611 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.1376, allocations: 0 / 0.6611 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.713e-05/0.1376, allocations: 4 kB / 0.6611 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.016e-05/0.1377, allocations: 8 kB / 0.6611 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.1377, allocations: 3.938 kB / 0.6611 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005346/0.1382, allocations: 343.3 kB / 0.6615 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.015e-06/0.1382, allocations: 0 / 0.6615 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.1383, allocations: 11.98 kB / 0.6615 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.1385, allocations: 143.8 kB / 0.6616 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1385, allocations: 0 / 0.6616 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1386, allocations: 0 / 0.6616 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1386, allocations: 0 / 0.6616 GB, free: 8.242 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003919/0.139, allocations: 351.1 kB / 0.662 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.139, allocations: 12.03 kB / 0.662 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.139, allocations: 30.75 kB / 0.662 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.306e-05/0.1391, allocations: 8.891 kB / 0.662 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.1392, allocations: 160.4 kB / 0.6622 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1392, allocations: 4.375 kB / 0.6622 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.1392, allocations: 4.125 kB / 0.6622 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.613e-05/0.1393, allocations: 33.69 kB / 0.6622 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1393, allocations: 3.938 kB / 0.6622 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.1393, allocations: 0 / 0.6622 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1394, allocations: 4 kB / 0.6622 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.414e-05/0.1394, allocations: 4 kB / 0.6622 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.1396, allocations: 153.7 kB / 0.6624 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.802e-05/0.1396, allocations: 22.55 kB / 0.6624 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.1396, allocations: 16.86 kB / 0.6624 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.1397, allocations: 0 / 0.6624 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.1397, allocations: 34.56 kB / 0.6624 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.605e-06/0.1397, allocations: 0 / 0.6624 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001294/0.1398, allocations: 49.62 kB / 0.6625 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.1399, allocations: 51.41 kB / 0.6625 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.646e-05/0.1399, allocations: 93.8 kB / 0.6626 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.14, allocations: 29.7 kB / 0.6626 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.907e-05/0.14, allocations: 80.14 kB / 0.6627 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.14, allocations: 3.953 kB / 0.6627 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.1401, allocations: 25.95 kB / 0.6627 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1402, allocations: 310.8 kB / 0.663 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.196e-05/0.1402, allocations: 0 / 0.663 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.298e-05/0.1402, allocations: 4 kB / 0.663 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.173e-05/0.1403, allocations: 16.8 kB / 0.6631 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1403, allocations: 0 / 0.6631 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.556e-05/0.1404, allocations: 41.62 kB / 0.6631 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1404, allocations: 8.094 kB / 0.6631 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.1404, allocations: 4 kB / 0.6631 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.1404, allocations: 0 / 0.6631 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.1405, allocations: 8 kB / 0.6631 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003979/0.141, allocations: 0.5938 MB / 0.6637 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.956e-05/0.141, allocations: 3.953 kB / 0.6637 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.141, allocations: 3.938 kB / 0.6637 GB, free: 5.848 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.236e-05/0.1411, allocations: 114.8 kB / 0.6638 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-06/0.1411, allocations: 0 / 0.6638 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.1412, allocations: 44.81 kB / 0.6639 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1412, allocations: 0 / 0.6639 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1412, allocations: 4 kB / 0.6639 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1412, allocations: 0 / 0.6639 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.1414, allocations: 157.6 kB / 0.664 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1414, allocations: 0 / 0.664 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.681e-05/0.1414, allocations: 8 kB / 0.664 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1415, allocations: 4.031 kB / 0.664 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1415, allocations: 0 / 0.664 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003464/0.1418, allocations: 0.5898 MB / 0.6646 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1418, allocations: 4.016 kB / 0.6646 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.189e-05/0.1419, allocations: 69.22 kB / 0.6647 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.142, allocations: 81.05 kB / 0.6648 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.142, allocations: 3.938 kB / 0.6648 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.571e-05/0.142, allocations: 3.984 kB / 0.6648 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.142, allocations: 11.88 kB / 0.6648 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.142, allocations: 3.938 kB / 0.6648 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.928e-05/0.1421, allocations: 79.28 kB / 0.6649 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1421, allocations: 0 / 0.6649 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001939/0.1423, allocations: 8 kB / 0.6649 GB, free: 4.543 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004228/0.1427, allocations: 0.6163 MB / 0.6655 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.1429, allocations: 19.92 kB / 0.6655 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.1429, allocations: 8 kB / 0.6655 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.401e-05/0.143, allocations: 12.09 kB / 0.6655 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.1431, allocations: 0 / 0.6655 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.1435, allocations: 135.6 kB / 0.6656 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.1438, allocations: 0.6768 MB / 0.6663 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.291e-05/0.1438, allocations: 0 / 0.6663 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.051e-05/0.1439, allocations: 7.438 kB / 0.6663 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1439, allocations: 4.062 kB / 0.6663 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.373/0.5169, allocations: 1.366 MB / 0.6676 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.58, allocations: 3.203 kB / 0.6676 GB, free: 1.824 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)