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.005672/0.005672, allocations: 100.8 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.001491/0.001491, allocations: 199 kB / 16.67 MB, free: 5.977 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9655/0.9655, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 59.89 kB / 0.5851 GB, free: 3.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4405, allocations: 80.9 MB / 0.6641 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01091/0.4514, allocations: 10.14 MB / 0.674 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003157/0.4546, allocations: 2.226 MB / 0.6762 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003322/0.455, allocations: 8.094 kB / 0.6762 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004171/0.4554, allocations: 94.02 kB / 0.6763 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008344/0.4563, allocations: 277.5 kB / 0.6766 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007971/0.4571, allocations: 235.9 kB / 0.6768 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007036/0.4578, allocations: 431.5 kB / 0.6772 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.4581, allocations: 136.6 kB / 0.6773 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005447/0.4587, allocations: 223.7 kB / 0.6775 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.4589, allocations: 115.2 kB / 0.6777 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.459, allocations: 9.188 kB / 0.6777 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004271/0.4594, allocations: 161.9 kB / 0.6778 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.772e-05/0.4595, allocations: 37.91 kB / 0.6779 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.4596, allocations: 77.22 kB / 0.6779 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000534/0.4602, allocations: 249.9 kB / 0.6782 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.4602, allocations: 0 / 0.6782 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4602, allocations: 0 / 0.6782 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.4602, allocations: 0.9688 kB / 0.6782 GB, free: 12.03 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.0007422/0.4609, allocations: 476.8 kB / 0.6786 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.461, allocations: 9.062 kB / 0.6786 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.053e-05/0.4611, allocations: 42.16 kB / 0.6787 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.736e-05/0.4611, allocations: 21.55 kB / 0.6787 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.4616, allocations: 253.3 kB / 0.6789 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.4616, allocations: 21.03 kB / 0.679 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.4617, allocations: 11.31 kB / 0.679 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.462, allocations: 134.9 kB / 0.6791 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4621, allocations: 0 / 0.6791 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.4621, allocations: 1.562 kB / 0.6791 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4621, allocations: 2.688 kB / 0.6791 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.4624, allocations: 103 kB / 0.6792 GB, free: 11.09 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.0008857/0.4633, allocations: 0.5282 MB / 0.6797 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.4635, allocations: 103 kB / 0.6798 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.4637, allocations: 59.61 kB / 0.6799 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003291/0.464, allocations: 331.1 kB / 0.6802 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.464, allocations: 31.84 kB / 0.6802 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.464, allocations: 9.125 kB / 0.6802 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0005251/0.4646, allocations: 161.8 kB / 0.6804 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.4647, allocations: 78.3 kB / 0.6804 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.4649, allocations: 188 kB / 0.6806 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.4649, allocations: 30.83 kB / 0.6807 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.684e-05/0.465, allocations: 123.8 kB / 0.6808 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.465, allocations: 26.48 kB / 0.6808 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.4651, allocations: 27.7 kB / 0.6808 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4652, allocations: 322.1 kB / 0.6811 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.4653, allocations: 34.25 kB / 0.6812 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.4655, allocations: 62.16 kB / 0.6812 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.4657, allocations: 109.6 kB / 0.6813 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4657, allocations: 0 / 0.6813 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003031/0.466, allocations: 127.9 kB / 0.6815 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4661, allocations: 10.03 kB / 0.6815 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4661, allocations: 1.281 kB / 0.6815 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.4661, allocations: 5.391 kB / 0.6815 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.4663, allocations: 30.47 kB / 0.6815 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.4663, allocations: 1 kB / 0.6815 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.4665, allocations: 16.52 kB / 0.6815 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.4665, allocations: 7.453 kB / 0.6815 GB, free: 8.945 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.000109/0.4666, allocations: 130.7 kB / 0.6816 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.4667, allocations: 15.12 kB / 0.6817 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.4669, allocations: 130.5 kB / 0.6818 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.467, allocations: 9.359 kB / 0.6818 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.467, allocations: 1.438 kB / 0.6818 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.467, allocations: 0 / 0.6818 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006151/0.4676, allocations: 477.5 kB / 0.6823 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4676, allocations: 1.094 kB / 0.6823 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.4679, allocations: 36.08 kB / 0.6823 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.4679, allocations: 1.125 kB / 0.6823 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.4679, allocations: 6.156 kB / 0.6823 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-05/0.4679, allocations: 6.469 kB / 0.6823 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.4679, allocations: 5.234 kB / 0.6823 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/0.4684, allocations: 345.5 kB / 0.6826 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.141e-05/0.4685, allocations: 112 kB / 0.6827 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.4685, allocations: 2.406 kB / 0.6827 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.4687, allocations: 17.67 kB / 0.6828 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.4687, allocations: 11.72 kB / 0.6828 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.4687, allocations: 7.734 kB / 0.6828 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000134/0.4689, allocations: 137.3 kB / 0.6829 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4689, allocations: 0 / 0.6829 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004315/0.4693, allocations: 52.3 kB / 0.683 GB, free: 7.695 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.001165/0.4705, allocations: 0.9607 MB / 0.6839 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003242/0.4708, allocations: 99.38 kB / 0.684 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4708, allocations: 0 / 0.684 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.471, allocations: 63.7 kB / 0.6841 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.4717, allocations: 71.91 kB / 0.6841 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.4742, allocations: 1.967 MB / 0.686 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.4746, allocations: 0.7269 MB / 0.6868 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001317/0.4747, allocations: 34.58 kB / 0.6868 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.866e-05/0.4748, allocations: 44.17 kB / 0.6868 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of SimCode: time 1.984e-06/0.4748, allocations: 0 / 0.6868 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.5038, allocations: 5.279 MB / 0.692 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/8.277, allocations: 0 / 0.692 GB, free: 1.547 MB / 0.5137 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)