Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",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.008219/0.008219, 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.002022/0.002022, allocations: 197.2 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8791/0.8791, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.52 kB / 0.5808 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.147, allocations: 80.22 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01272/0.1598, allocations: 10.12 MB / 0.6691 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003351/0.1632, allocations: 2.218 MB / 0.6712 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.1634, allocations: 11.94 kB / 0.6712 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003816/0.1638, allocations: 99.23 kB / 0.6713 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006502/0.1645, allocations: 254.7 kB / 0.6716 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008335/0.1654, allocations: 232.9 kB / 0.6718 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007212/0.1661, allocations: 427.6 kB / 0.6722 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003557/0.1665, allocations: 148.3 kB / 0.6724 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005731/0.1671, allocations: 211.1 kB / 0.6726 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.1673, allocations: 119.5 kB / 0.6727 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.1673, allocations: 12 kB / 0.6727 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004329/0.1678, allocations: 159.7 kB / 0.6728 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.995e-05/0.1678, allocations: 43.78 kB / 0.6729 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.329e-05/0.1679, allocations: 71.66 kB / 0.6729 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000497/0.1684, allocations: 263 kB / 0.6732 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1685, allocations: 0 / 0.6732 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1685, allocations: 0 / 0.6732 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.1685, allocations: 0 / 0.6732 GB, free: 12.36 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007106/0.1692, allocations: 482.5 kB / 0.6737 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1693, allocations: 8.031 kB / 0.6737 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.1693, allocations: 42.75 kB / 0.6737 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.1694, allocations: 20.84 kB / 0.6737 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.1697, allocations: 256.5 kB / 0.674 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1698, allocations: 15.94 kB / 0.674 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.1698, allocations: 8 kB / 0.674 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.1701, allocations: 139.3 kB / 0.6741 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1702, allocations: 0 / 0.6741 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1702, allocations: 0 / 0.6741 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.1702, allocations: 4 kB / 0.6741 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.1705, allocations: 103.8 kB / 0.6742 GB, free: 11.2 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008836/0.1714, allocations: 0.5356 MB / 0.6747 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.1716, allocations: 97.17 kB / 0.6748 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.1718, allocations: 49.81 kB / 0.6749 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003244/0.1721, allocations: 344.3 kB / 0.6752 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.1721, allocations: 30.56 kB / 0.6752 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.552e-06/0.1721, allocations: 0 / 0.6752 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0005318/0.1727, allocations: 161.5 kB / 0.6754 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.1727, allocations: 85.09 kB / 0.6755 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.1729, allocations: 179.8 kB / 0.6757 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.173, allocations: 29.7 kB / 0.6757 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.1731, allocations: 120 kB / 0.6758 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.1731, allocations: 23.78 kB / 0.6758 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.1732, allocations: 29.84 kB / 0.6758 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1733, allocations: 322.8 kB / 0.6762 GB, free: 9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1734, allocations: 35.97 kB / 0.6762 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.1736, allocations: 67.38 kB / 0.6763 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.1739, allocations: 106.4 kB / 0.6764 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1739, allocations: 0 / 0.6764 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003122/0.1742, allocations: 129.6 kB / 0.6765 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1742, allocations: 4 kB / 0.6765 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.1742, allocations: 7.984 kB / 0.6765 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1742, allocations: 4.062 kB / 0.6765 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.1745, allocations: 35.95 kB / 0.6765 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1745, allocations: 0 / 0.6765 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.1746, allocations: 23.86 kB / 0.6765 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.1747, allocations: 4 kB / 0.6766 GB, free: 8.562 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 0.000126/0.1748, allocations: 133.7 kB / 0.6767 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/0.1748, allocations: 15.91 kB / 0.6767 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.1751, allocations: 136.6 kB / 0.6768 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1751, allocations: 0 / 0.6768 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1751, allocations: 4 kB / 0.6768 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.1751, allocations: 3.984 kB / 0.6768 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006257/0.1758, allocations: 473.2 kB / 0.6773 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1758, allocations: 0 / 0.6773 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.176, allocations: 40 kB / 0.6773 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.176, allocations: 7.938 kB / 0.6773 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.176, allocations: 7.984 kB / 0.6773 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.176, allocations: 4 kB / 0.6773 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.176, allocations: 3.938 kB / 0.6773 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.1765, allocations: 340 kB / 0.6777 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.502e-05/0.1766, allocations: 112.9 kB / 0.6778 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.1766, allocations: 0 / 0.6778 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.1768, allocations: 8 kB / 0.6778 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.1768, allocations: 19.92 kB / 0.6778 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1768, allocations: 4 kB / 0.6778 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001221/0.177, allocations: 140.9 kB / 0.6779 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.177, allocations: 0 / 0.6779 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003846/0.1774, allocations: 55.86 kB / 0.678 GB, free: 6.969 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001075/0.1785, allocations: 0.9514 MB / 0.6789 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003732/0.1788, allocations: 111.7 kB / 0.679 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1789, allocations: 0 / 0.679 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.179, allocations: 59.89 kB / 0.6791 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006295/0.1797, allocations: 73.44 kB / 0.6792 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.1821, allocations: 1.975 MB / 0.6811 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.1825, allocations: 0.7241 MB / 0.6818 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.1826, allocations: 33.41 kB / 0.6818 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.211e-05/0.1827, allocations: 47.41 kB / 0.6819 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of SimCode: time 6.81e-07/0.1828, allocations: 0 / 0.6819 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.2122, allocations: 5.255 MB / 0.687 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/8.334, allocations: 10.94 kB / 0.687 GB, free: 13.75 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)