Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_dev_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.006923/0.006923, allocations: 104.6 kB / 15.74 MB, free: 6.039 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.001662/0.001662, allocations: 196 kB / 16.68 MB, free: 5.957 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7533/0.7533, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 66.28 kB / 0.5851 GB, free: 22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1408, allocations: 80.92 MB / 0.6641 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.0117/0.1526, allocations: 10.14 MB / 0.674 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002935/0.1555, allocations: 2.22 MB / 0.6762 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.1558, allocations: 7.938 kB / 0.6762 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004104/0.1563, allocations: 91.3 kB / 0.6763 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007416/0.1571, allocations: 254.8 kB / 0.6765 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007092/0.1578, allocations: 237.8 kB / 0.6768 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005803/0.1584, allocations: 439.6 kB / 0.6772 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.1587, allocations: 138.9 kB / 0.6773 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004584/0.1592, allocations: 207.1 kB / 0.6775 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.1594, allocations: 115.5 kB / 0.6776 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.1594, allocations: 8 kB / 0.6776 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003322/0.1598, allocations: 175.6 kB / 0.6778 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/0.1598, allocations: 43.78 kB / 0.6778 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.255e-05/0.1599, allocations: 67.67 kB / 0.6779 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000425/0.1604, allocations: 264 kB / 0.6782 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1604, allocations: 0 / 0.6782 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1604, allocations: 0 / 0.6782 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.1604, allocations: 0 / 0.6782 GB, free: 7.91 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.0006396/0.1611, allocations: 466.8 kB / 0.6786 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1611, allocations: 17.11 kB / 0.6786 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.05e-05/0.1612, allocations: 50.67 kB / 0.6787 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.1612, allocations: 16.75 kB / 0.6787 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.1616, allocations: 247.9 kB / 0.6789 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1616, allocations: 11.94 kB / 0.6789 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.1616, allocations: 8 kB / 0.6789 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.162, allocations: 143.3 kB / 0.6791 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.162, allocations: 0 / 0.6791 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.162, allocations: 4 kB / 0.6791 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.162, allocations: 7.938 kB / 0.6791 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.1623, allocations: 86.61 kB / 0.6792 GB, free: 6.77 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.0007931/0.1631, allocations: 0.5431 MB / 0.6797 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.1633, allocations: 97.11 kB / 0.6798 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.1634, allocations: 53.81 kB / 0.6798 GB, free: 6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002917/0.1637, allocations: 340.4 kB / 0.6802 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.1638, allocations: 30.56 kB / 0.6802 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.1638, allocations: 0 / 0.6802 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0005164/0.1643, allocations: 161.4 kB / 0.6803 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.1643, allocations: 81.11 kB / 0.6804 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.1645, allocations: 187.5 kB / 0.6806 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1645, allocations: 29.7 kB / 0.6806 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/0.1646, allocations: 120.1 kB / 0.6807 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.1647, allocations: 19.78 kB / 0.6808 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.1647, allocations: 29.7 kB / 0.6808 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1648, allocations: 327 kB / 0.6811 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.165, allocations: 35.97 kB / 0.6811 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.1651, allocations: 67.33 kB / 0.6812 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.1653, allocations: 106.5 kB / 0.6813 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1654, allocations: 0 / 0.6813 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002998/0.1657, allocations: 129.4 kB / 0.6814 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1657, allocations: 4 kB / 0.6814 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1657, allocations: 0 / 0.6814 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1657, allocations: 4.25 kB / 0.6814 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.1659, allocations: 43.95 kB / 0.6815 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.166, allocations: 4 kB / 0.6815 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.1661, allocations: 23.86 kB / 0.6815 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.1661, allocations: 4 kB / 0.6815 GB, free: 4.121 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.0001094/0.1662, allocations: 129.8 kB / 0.6816 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.1663, allocations: 15.81 kB / 0.6816 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.1665, allocations: 130.5 kB / 0.6818 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.1665, allocations: 4 kB / 0.6818 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1665, allocations: 0 / 0.6818 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1666, allocations: 4 kB / 0.6818 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005718/0.1671, allocations: 472.7 kB / 0.6822 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.1671, allocations: 0 / 0.6822 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.1673, allocations: 43.98 kB / 0.6823 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.1673, allocations: 0 / 0.6823 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1674, allocations: 4 kB / 0.6823 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1674, allocations: 0 / 0.6823 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.1674, allocations: 7.938 kB / 0.6823 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.1678, allocations: 345.1 kB / 0.6826 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.012e-05/0.1679, allocations: 100.9 kB / 0.6827 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.1679, allocations: 7.984 kB / 0.6827 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.1681, allocations: 4 kB / 0.6827 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.1681, allocations: 19.86 kB / 0.6827 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.1681, allocations: 12 kB / 0.6827 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001165/0.1683, allocations: 140.9 kB / 0.6829 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1683, allocations: 0 / 0.6829 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000364/0.1686, allocations: 51.94 kB / 0.6829 GB, free: 2.539 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.001002/0.1696, allocations: 0.9533 MB / 0.6839 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.17, allocations: 103.9 kB / 0.684 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.17, allocations: 4 kB / 0.684 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.1702, allocations: 59.89 kB / 0.684 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000608/0.1708, allocations: 79.59 kB / 0.6841 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.1731, allocations: 1.964 MB / 0.686 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.1735, allocations: 0.7319 MB / 0.6867 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.1736, allocations: 29.67 kB / 0.6868 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.054e-05/0.1736, allocations: 43.42 kB / 0.6868 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.1737, allocations: 4 kB / 0.6868 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.1961, allocations: 5.312 MB / 0.692 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/7.947, allocations: 13.09 kB / 0.692 GB, free: 9.207 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)