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.007347/0.007347, allocations: 97.89 kB / 15.73 MB, free: 5.996 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.001982/0.001982, allocations: 186.5 kB / 16.67 MB, free: 5.926 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8098/0.8098, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.69 kB / 0.5808 GB, free: 1.281 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1427, allocations: 80.21 MB / 0.6592 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01162/0.1544, allocations: 10.13 MB / 0.6691 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002815/0.1572, allocations: 2.222 MB / 0.6712 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.1573, allocations: 7.938 kB / 0.6712 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.1577, allocations: 95.23 kB / 0.6713 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005307/0.1582, allocations: 258.8 kB / 0.6716 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005889/0.1588, allocations: 231.7 kB / 0.6718 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000507/0.1593, allocations: 435.5 kB / 0.6722 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002592/0.1596, allocations: 140.4 kB / 0.6724 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003654/0.16, allocations: 215.1 kB / 0.6726 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.1602, allocations: 115.4 kB / 0.6727 GB, free: 236 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.1602, allocations: 12 kB / 0.6727 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003268/0.1605, allocations: 167.7 kB / 0.6728 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.951e-05/0.1606, allocations: 35.84 kB / 0.6729 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.1607, allocations: 79.77 kB / 0.673 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.1611, allocations: 247.1 kB / 0.6732 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1611, allocations: 3.984 kB / 0.6732 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.905e-06/0.1611, allocations: 0 / 0.6732 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1611, allocations: 3.938 kB / 0.6732 GB, free: 15.69 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.0006461/0.1618, allocations: 478.4 kB / 0.6736 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1618, allocations: 12.03 kB / 0.6737 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.1619, allocations: 46.73 kB / 0.6737 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.1619, allocations: 20.84 kB / 0.6737 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.1623, allocations: 248.5 kB / 0.674 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.1623, allocations: 11.94 kB / 0.674 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.1623, allocations: 12 kB / 0.674 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.1627, allocations: 134.6 kB / 0.6741 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1627, allocations: 4 kB / 0.6741 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1627, allocations: 4 kB / 0.6741 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1627, allocations: 0 / 0.6741 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000272/0.163, allocations: 95.86 kB / 0.6742 GB, free: 14.54 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.0007825/0.1638, allocations: 0.5473 MB / 0.6747 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.164, allocations: 93.11 kB / 0.6748 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.1642, allocations: 61.8 kB / 0.6749 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003045/0.1645, allocations: 328.4 kB / 0.6752 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.1645, allocations: 46.48 kB / 0.6753 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1645, allocations: 0 / 0.6753 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0005005/0.165, allocations: 157.5 kB / 0.6754 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.1651, allocations: 81.05 kB / 0.6755 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.1653, allocations: 183.8 kB / 0.6757 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.1653, allocations: 25.7 kB / 0.6757 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.395e-05/0.1654, allocations: 124 kB / 0.6758 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.1654, allocations: 19.8 kB / 0.6758 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.1655, allocations: 29.7 kB / 0.6758 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1657, allocations: 331 kB / 0.6762 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.1658, allocations: 27.97 kB / 0.6762 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.166, allocations: 71.39 kB / 0.6763 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.1662, allocations: 110.4 kB / 0.6764 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1662, allocations: 3.938 kB / 0.6764 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003143/0.1665, allocations: 125.5 kB / 0.6765 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.1666, allocations: 8 kB / 0.6765 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1666, allocations: 0 / 0.6765 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1666, allocations: 0 / 0.6765 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.1668, allocations: 40.02 kB / 0.6765 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1668, allocations: 4 kB / 0.6765 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.167, allocations: 11.92 kB / 0.6765 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.167, allocations: 8 kB / 0.6766 GB, free: 11.89 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.0001362/0.1671, allocations: 133.8 kB / 0.6767 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.1672, allocations: 11.91 kB / 0.6767 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.1674, allocations: 138.4 kB / 0.6768 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.1675, allocations: 4 kB / 0.6768 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1675, allocations: 0 / 0.6768 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1675, allocations: 0 / 0.6768 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/0.1681, allocations: 472.9 kB / 0.6773 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.1681, allocations: 4 kB / 0.6773 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.1683, allocations: 40.05 kB / 0.6773 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1683, allocations: 3.938 kB / 0.6773 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1684, allocations: 8.188 kB / 0.6773 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1684, allocations: 0 / 0.6773 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1684, allocations: 7.938 kB / 0.6773 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.1688, allocations: 348.9 kB / 0.6777 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.695e-05/0.1689, allocations: 104.9 kB / 0.6778 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.1689, allocations: 8 kB / 0.6778 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.1691, allocations: 7.984 kB / 0.6778 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.1691, allocations: 11.92 kB / 0.6778 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.1691, allocations: 8 kB / 0.6778 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001224/0.1693, allocations: 144.9 kB / 0.6779 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1693, allocations: 0 / 0.6779 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003652/0.1697, allocations: 51.88 kB / 0.678 GB, free: 10.3 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.001006/0.1707, allocations: 0.945 MB / 0.6789 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003316/0.171, allocations: 107.9 kB / 0.679 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.171, allocations: 0 / 0.679 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.1712, allocations: 63.91 kB / 0.6791 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006115/0.1718, allocations: 72.66 kB / 0.6792 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.1742, allocations: 1.975 MB / 0.6811 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.1746, allocations: 0.7318 MB / 0.6818 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.976e-05/0.1747, allocations: 33 kB / 0.6818 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.34e-05/0.1748, allocations: 51.42 kB / 0.6819 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1748, allocations: 0 / 0.6819 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3363/0.5111, allocations: 5.261 MB / 0.687 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.561/9.072, allocations: 12.55 kB / 0.687 GB, free: 1.094 MB / 0.5137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)