Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_dev_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.007604/0.007604, allocations: 102.1 kB / 15.73 MB, free: 6.047 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.001628/0.001628, allocations: 196.5 kB / 16.68 MB, free: 5.965 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.304/1.304, 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-master/package.mo): time 0.767/0.767, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 64.28 kB / 0.5851 GB, free: 21.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1396, allocations: 80.93 MB / 0.6642 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003457/0.1431, allocations: 2.018 MB / 0.6661 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003411/0.1465, allocations: 2.023 MB / 0.6681 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002559/0.1468, allocations: 4 kB / 0.6681 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008683/0.1477, allocations: 255 kB / 0.6684 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009842/0.1487, allocations: 295 kB / 0.6686 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.1498, allocations: 493.7 kB / 0.6691 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007006/0.1505, allocations: 466.7 kB / 0.6695 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.1507, allocations: 36.39 kB / 0.6696 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002821/0.151, allocations: 175.5 kB / 0.6698 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.1512, allocations: 159.4 kB / 0.6699 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.652e-05/0.1513, allocations: 16 kB / 0.6699 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006767/0.152, allocations: 447.2 kB / 0.6703 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.1521, allocations: 103.7 kB / 0.6704 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.1522, allocations: 115.3 kB / 0.6706 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009042/0.1532, allocations: 0.5929 MB / 0.6711 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1532, allocations: 0 / 0.6711 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1532, allocations: 0 / 0.6711 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.1532, allocations: 0 / 0.6711 GB, free: 15.12 MB / 0.5137 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.0009825/0.1542, allocations: 0.584 MB / 0.6717 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.1542, allocations: 13.05 kB / 0.6717 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.175e-05/0.1543, allocations: 46.73 kB / 0.6718 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003246/0.1546, allocations: 48.53 kB / 0.6718 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.1552, allocations: 336.3 kB / 0.6721 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1552, allocations: 11.94 kB / 0.6721 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.1553, allocations: 8 kB / 0.6721 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.1556, allocations: 161.5 kB / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1557, allocations: 0 / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.1557, allocations: 4 kB / 0.6723 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1557, allocations: 0 / 0.6723 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/0.156, allocations: 131.8 kB / 0.6724 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007533/0.1568, allocations: 488.4 kB / 0.6729 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.1572, allocations: 138.4 kB / 0.673 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.1573, allocations: 60.81 kB / 0.6731 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.1574, allocations: 8 kB / 0.6731 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.1574, allocations: 34.56 kB / 0.6731 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.1574, allocations: 0 / 0.6731 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0006624/0.1581, allocations: 237.4 kB / 0.6734 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.1581, allocations: 51.41 kB / 0.6734 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.1584, allocations: 336.5 kB / 0.6737 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1585, allocations: 33.69 kB / 0.6738 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.946e-05/0.1586, allocations: 152 kB / 0.6739 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.1586, allocations: 31.55 kB / 0.6739 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.339e-05/0.1587, allocations: 53.69 kB / 0.674 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1588, allocations: 334.8 kB / 0.6743 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.1591, allocations: 120.7 kB / 0.6744 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.1594, allocations: 164.6 kB / 0.6746 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/0.1599, allocations: 282.2 kB / 0.6748 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1599, allocations: 0 / 0.6748 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006284/0.1605, allocations: 329.3 kB / 0.6752 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1605, allocations: 4 kB / 0.6752 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1605, allocations: 7.938 kB / 0.6752 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.1606, allocations: 4 kB / 0.6752 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.1608, allocations: 43.91 kB / 0.6752 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.1608, allocations: 7.984 kB / 0.6752 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.161, allocations: 23.75 kB / 0.6752 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.1611, allocations: 19.98 kB / 0.6753 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003035/0.1614, allocations: 208 kB / 0.6755 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002338/0.1616, allocations: 142.8 kB / 0.6756 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004191/0.162, allocations: 242.6 kB / 0.6758 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.1621, allocations: 4 kB / 0.6758 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000598/0.1627, allocations: 301.2 kB / 0.6761 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.1627, allocations: 5.719 kB / 0.6761 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1627, allocations: 7.984 kB / 0.6761 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.061e-06/0.1627, allocations: 4.312 kB / 0.6761 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.1629, allocations: 47.89 kB / 0.6762 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1629, allocations: 4 kB / 0.6762 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.1631, allocations: 23.83 kB / 0.6762 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.1631, allocations: 15.92 kB / 0.6762 GB, free: 9.566 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.0001279/0.1632, allocations: 192.2 kB / 0.6764 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.1633, allocations: 27.62 kB / 0.6764 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005183/0.1638, allocations: 196.2 kB / 0.6766 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.1638, allocations: 11.98 kB / 0.6766 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.1638, allocations: 0 / 0.6766 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1638, allocations: 3.938 kB / 0.6766 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.1642, allocations: 265.5 kB / 0.6769 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1642, allocations: 4 kB / 0.6769 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.1643, allocations: 23.97 kB / 0.6769 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1643, allocations: 0 / 0.6769 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.1643, allocations: 11.94 kB / 0.6769 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1644, allocations: 0 / 0.6769 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1644, allocations: 4 kB / 0.6769 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.1648, allocations: 275 kB / 0.6772 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.1649, allocations: 112.7 kB / 0.6773 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.1649, allocations: 3.938 kB / 0.6773 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.1651, allocations: 15.98 kB / 0.6773 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.1652, allocations: 11.98 kB / 0.6773 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.1652, allocations: 4 kB / 0.6773 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002212/0.1654, allocations: 235 kB / 0.6776 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1654, allocations: 0 / 0.6776 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005595/0.166, allocations: 144 kB / 0.6777 GB, free: 7.957 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.001018/0.167, allocations: 0.9164 MB / 0.6786 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007453/0.1678, allocations: 324.1 kB / 0.6789 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1678, allocations: 4.312 kB / 0.6789 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.1679, allocations: 67.95 kB / 0.679 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005209/0.1685, allocations: 110.5 kB / 0.6791 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.1721, allocations: 3.02 MB / 0.682 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.1725, allocations: 0.7717 MB / 0.6828 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002377/0.1728, allocations: 74.89 kB / 0.6828 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.1729, allocations: 87.41 kB / 0.6829 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.1729, allocations: 0 / 0.6829 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.2018, allocations: 9.3 MB / 0.692 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/8.045, allocations: 3.938 kB / 0.692 GB, free: 9.293 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)