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.007378/0.007378, allocations: 98.52 kB / 15.73 MB, free: 5.578 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.001661/0.001661, allocations: 188.4 kB / 16.67 MB, free: 5.516 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7549/0.7549, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.52 kB / 0.5851 GB, free: 22.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1333, allocations: 80.92 MB / 0.6641 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003394/0.1367, allocations: 2.033 MB / 0.6661 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003285/0.1401, allocations: 2.019 MB / 0.6681 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002742/0.1404, allocations: 4 kB / 0.6681 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009377/0.1413, allocations: 258.9 kB / 0.6684 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008614/0.1422, allocations: 287 kB / 0.6686 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.1433, allocations: 495.2 kB / 0.6691 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007449/0.144, allocations: 466.7 kB / 0.6695 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.1442, allocations: 36.34 kB / 0.6696 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003075/0.1445, allocations: 167.5 kB / 0.6697 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.1448, allocations: 163.4 kB / 0.6699 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.1448, allocations: 12 kB / 0.6699 GB, free: 412 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000724/0.1456, allocations: 455.2 kB / 0.6703 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.1457, allocations: 103.7 kB / 0.6704 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.1458, allocations: 111.4 kB / 0.6705 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008362/0.1467, allocations: 0.5957 MB / 0.6711 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1467, allocations: 0 / 0.6711 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1467, allocations: 0 / 0.6711 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.1467, allocations: 0 / 0.6711 GB, free: 15.15 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.001025/0.1477, allocations: 0.5951 MB / 0.6717 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1478, allocations: 9.109 kB / 0.6717 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.1479, allocations: 42.69 kB / 0.6718 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003312/0.1482, allocations: 56.7 kB / 0.6718 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005848/0.1488, allocations: 340.5 kB / 0.6721 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.1488, allocations: 7.938 kB / 0.6721 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.1488, allocations: 12 kB / 0.6722 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.1492, allocations: 159.6 kB / 0.6723 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1492, allocations: 3.938 kB / 0.6723 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.1493, allocations: 4 kB / 0.6723 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1493, allocations: 4 kB / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.1497, allocations: 127.9 kB / 0.6724 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007729/0.1504, allocations: 0.4886 MB / 0.6729 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.1508, allocations: 130.4 kB / 0.673 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.151, allocations: 60.83 kB / 0.6731 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.1511, allocations: 15.91 kB / 0.6731 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1511, allocations: 34.56 kB / 0.6732 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.1511, allocations: 0 / 0.6732 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0007142/0.1518, allocations: 233.5 kB / 0.6734 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.1519, allocations: 55.41 kB / 0.6734 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003403/0.1522, allocations: 336.5 kB / 0.6737 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.1522, allocations: 29.7 kB / 0.6738 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1524, allocations: 152.1 kB / 0.6739 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.1524, allocations: 27.73 kB / 0.6739 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.349e-05/0.1525, allocations: 49.7 kB / 0.674 GB, free: 12 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1526, allocations: 338.8 kB / 0.6743 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.1529, allocations: 124.7 kB / 0.6744 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.1532, allocations: 161.2 kB / 0.6746 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/0.1537, allocations: 281.9 kB / 0.6749 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.1537, allocations: 4 kB / 0.6749 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006617/0.1544, allocations: 341.4 kB / 0.6752 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1544, allocations: 4 kB / 0.6752 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1544, allocations: 7.938 kB / 0.6752 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1545, allocations: 0 / 0.6752 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.1547, allocations: 47.91 kB / 0.6752 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1547, allocations: 3.984 kB / 0.6753 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.1549, allocations: 31.78 kB / 0.6753 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.155, allocations: 15.98 kB / 0.6753 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003218/0.1553, allocations: 208 kB / 0.6755 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002468/0.1555, allocations: 146.7 kB / 0.6756 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004614/0.156, allocations: 230.7 kB / 0.6759 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.727e-06/0.156, allocations: 3.984 kB / 0.6759 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005858/0.1566, allocations: 293.4 kB / 0.6761 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1566, allocations: 8 kB / 0.6761 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1566, allocations: 3.938 kB / 0.6761 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/0.1567, allocations: 7.938 kB / 0.6762 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.1569, allocations: 43.91 kB / 0.6762 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1569, allocations: 7.984 kB / 0.6762 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.157, allocations: 16.33 kB / 0.6762 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.1571, allocations: 11.98 kB / 0.6762 GB, free: 9.586 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.0001201/0.1572, allocations: 196.1 kB / 0.6764 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.1573, allocations: 27.81 kB / 0.6764 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005254/0.1578, allocations: 200.1 kB / 0.6766 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1578, allocations: 4 kB / 0.6766 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1578, allocations: 0 / 0.6766 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1578, allocations: 7.984 kB / 0.6766 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.1581, allocations: 269.5 kB / 0.6769 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1581, allocations: 4 kB / 0.6769 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.1583, allocations: 23.98 kB / 0.6769 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1583, allocations: 0 / 0.6769 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.1583, allocations: 15.92 kB / 0.6769 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1583, allocations: 3.984 kB / 0.677 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1583, allocations: 0 / 0.677 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004894/0.1588, allocations: 279.2 kB / 0.6772 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.159, allocations: 108.9 kB / 0.6773 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.159, allocations: 7.938 kB / 0.6773 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.1592, allocations: 15.98 kB / 0.6773 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.1592, allocations: 7.984 kB / 0.6774 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.1592, allocations: 4 kB / 0.6774 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002291/0.1595, allocations: 239 kB / 0.6776 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1595, allocations: 0 / 0.6776 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000598/0.1601, allocations: 147.7 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.001174/0.1613, allocations: 0.924 MB / 0.6786 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007952/0.1621, allocations: 324.3 kB / 0.6789 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1621, allocations: 192 / 0.6789 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.1623, allocations: 75.89 kB / 0.679 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/0.1628, allocations: 100.3 kB / 0.6791 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/0.1669, allocations: 3.023 MB / 0.6821 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.1672, allocations: 0.7639 MB / 0.6828 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002466/0.1675, allocations: 74.92 kB / 0.6829 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.1676, allocations: 91.41 kB / 0.683 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1677, allocations: 0 / 0.683 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.1962, allocations: 9.305 MB / 0.692 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.124, allocations: 17.31 kB / 0.6921 GB, free: 9.277 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)