Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.005398/0.005398, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001317/0.001317, allocations: 200.3 kB / 16.68 MB, free: 5.934 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7896/0.7896, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 67.09 kB / 0.5809 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1448, allocations: 80.21 MB / 0.6592 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003341/0.1482, allocations: 2.03 MB / 0.6612 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00331/0.1515, allocations: 2.018 MB / 0.6631 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.1517, allocations: 7.938 kB / 0.6631 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007296/0.1524, allocations: 258.9 kB / 0.6634 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006757/0.1531, allocations: 287 kB / 0.6637 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009209/0.154, allocations: 497.6 kB / 0.6641 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006234/0.1547, allocations: 466.7 kB / 0.6646 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1548, allocations: 32.33 kB / 0.6646 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.155, allocations: 175.4 kB / 0.6648 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.1553, allocations: 163.4 kB / 0.6649 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.1554, allocations: 16 kB / 0.665 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006715/0.156, allocations: 447.2 kB / 0.6654 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.1562, allocations: 99.75 kB / 0.6655 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.1563, allocations: 115.3 kB / 0.6656 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007415/0.1571, allocations: 0.5878 MB / 0.6662 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1571, allocations: 0 / 0.6662 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1571, allocations: 0 / 0.6662 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.1571, allocations: 4 kB / 0.6662 GB, free: 3.695 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009221/0.158, allocations: 0.5989 MB / 0.6668 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1581, allocations: 12.02 kB / 0.6668 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.768e-05/0.1581, allocations: 46.69 kB / 0.6668 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002839/0.1584, allocations: 52.72 kB / 0.6669 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005133/0.1589, allocations: 332.6 kB / 0.6672 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.159, allocations: 11.94 kB / 0.6672 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.159, allocations: 12 kB / 0.6672 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.1593, allocations: 145.6 kB / 0.6673 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1594, allocations: 0 / 0.6673 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.1594, allocations: 8 kB / 0.6673 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1594, allocations: 4 kB / 0.6673 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000384/0.1598, allocations: 125.8 kB / 0.6675 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000751/0.1605, allocations: 0.4962 MB / 0.668 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.1609, allocations: 130.5 kB / 0.6681 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.1611, allocations: 64.94 kB / 0.6681 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.1612, allocations: 8 kB / 0.6681 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1612, allocations: 30.56 kB / 0.6682 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.1612, allocations: 4 kB / 0.6682 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0007158/0.1619, allocations: 237.2 kB / 0.6684 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.162, allocations: 51.41 kB / 0.6685 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.1623, allocations: 336.5 kB / 0.6688 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.1624, allocations: 30.08 kB / 0.6688 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.1625, allocations: 156.1 kB / 0.669 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.1625, allocations: 27.75 kB / 0.669 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.858e-05/0.1626, allocations: 49.69 kB / 0.669 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1628, allocations: 342.8 kB / 0.6694 GB, free: 208 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.1631, allocations: 116.8 kB / 0.6695 GB, free: 88 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003173/0.1634, allocations: 168.7 kB / 0.6696 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005562/0.164, allocations: 282 kB / 0.6699 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.164, allocations: 0 / 0.6699 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006759/0.1647, allocations: 333.2 kB / 0.6702 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1647, allocations: 7.984 kB / 0.6702 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1647, allocations: 12.16 kB / 0.6702 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1647, allocations: 0 / 0.6702 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.165, allocations: 47.91 kB / 0.6703 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.165, allocations: 4 kB / 0.6703 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.1651, allocations: 31.77 kB / 0.6703 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.1652, allocations: 12 kB / 0.6703 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003268/0.1655, allocations: 208 kB / 0.6705 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000262/0.1658, allocations: 142.8 kB / 0.6707 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004854/0.1663, allocations: 238.6 kB / 0.6709 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.136e-06/0.1663, allocations: 8 kB / 0.6709 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005957/0.1669, allocations: 289.1 kB / 0.6712 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/0.1669, allocations: 8 kB / 0.6712 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/0.1669, allocations: 0 / 0.6712 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.131e-06/0.1669, allocations: 12.16 kB / 0.6712 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.1671, allocations: 43.97 kB / 0.6712 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1672, allocations: 11.92 kB / 0.6712 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.1673, allocations: 19.94 kB / 0.6713 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.1673, allocations: 8 kB / 0.6713 GB, free: 14.13 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 18 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.1675, allocations: 188.2 kB / 0.6714 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.1675, allocations: 27.81 kB / 0.6715 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005359/0.1681, allocations: 208.2 kB / 0.6717 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1681, allocations: 0 / 0.6717 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1681, allocations: 4 kB / 0.6717 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1681, allocations: 3.984 kB / 0.6717 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.1684, allocations: 269.5 kB / 0.6719 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1684, allocations: 96 / 0.6719 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.1686, allocations: 35.84 kB / 0.672 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1686, allocations: 0 / 0.672 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.1686, allocations: 7.938 kB / 0.672 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1686, allocations: 0 / 0.672 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1686, allocations: 0 / 0.672 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004864/0.1691, allocations: 279.2 kB / 0.6722 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.1692, allocations: 116.9 kB / 0.6724 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.1693, allocations: 3.938 kB / 0.6724 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.1694, allocations: 15.98 kB / 0.6724 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.1695, allocations: 4 kB / 0.6724 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.1695, allocations: 4 kB / 0.6724 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002489/0.1697, allocations: 247 kB / 0.6726 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1697, allocations: 0 / 0.6726 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005814/0.1703, allocations: 147.7 kB / 0.6728 GB, free: 12.5 MB / 0.5137 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001146/0.1715, allocations: 0.911 MB / 0.6736 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008091/0.1723, allocations: 331.5 kB / 0.674 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1723, allocations: 0 / 0.674 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.1725, allocations: 68.95 kB / 0.674 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.173, allocations: 100.7 kB / 0.6741 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.1771, allocations: 3.02 MB / 0.6771 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.1775, allocations: 0.7717 MB / 0.6778 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002447/0.1778, allocations: 74.92 kB / 0.6779 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.178, allocations: 95.33 kB / 0.678 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.178, allocations: 0 / 0.678 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1906/0.3686, allocations: 9.308 MB / 0.6871 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.743/9.112, allocations: 9.141 kB / 0.6871 GB, free: 13.86 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)