Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001013/0.001013, allocations: 194.3 kB / 17.3 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.253/1.253, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001998, allocations: 297.2 kB / 291.4 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8931/0.8931, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 97.95 kB / 0.5966 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1545, allocations: 86.97 MB / 0.6816 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.2894/0.4439, allocations: 14.78 MB / 0.696 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004142/0.4481, allocations: 3.726 MB / 0.6996 GB, free: 8.473 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.4484, allocations: 16.62 kB / 0.6997 GB, free: 8.465 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004486/0.449, allocations: 170.6 kB / 0.6998 GB, free: 8.348 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007958/0.4498, allocations: 399.4 kB / 0.7002 GB, free: 8.125 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008049/0.4506, allocations: 326.1 kB / 0.7005 GB, free: 7.969 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007831/0.4514, allocations: 0.7793 MB / 0.7013 GB, free: 7.625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004093/0.4518, allocations: 287.2 kB / 0.7016 GB, free: 7.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005777/0.4524, allocations: 381.6 kB / 0.7019 GB, free: 7.344 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.4527, allocations: 223 kB / 0.7021 GB, free: 7.242 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.4527, allocations: 20.88 kB / 0.7021 GB, free: 7.242 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004253/0.4531, allocations: 236.7 kB / 0.7024 GB, free: 7.152 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.17e-05/0.4532, allocations: 69.2 kB / 0.7024 GB, free: 7.117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.4534, allocations: 144.8 kB / 0.7026 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005639/0.4539, allocations: 431.6 kB / 0.703 GB, free: 6.875 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.454, allocations: 4 kB / 0.703 GB, free: 6.871 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.454, allocations: 8.812 kB / 0.703 GB, free: 6.863 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.454, allocations: 0 / 0.703 GB, free: 6.863 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007286/0.4547, allocations: 0.6028 MB / 0.7036 GB, free: 6.359 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4548, allocations: 9.656 kB / 0.7036 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.218e-05/0.4548, allocations: 33.84 kB / 0.7036 GB, free: 6.344 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.4553, allocations: 332.9 kB / 0.704 GB, free: 6.074 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.4553, allocations: 21.75 kB / 0.704 GB, free: 6.066 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.4553, allocations: 19.94 kB / 0.704 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.4558, allocations: 266.8 kB / 0.7042 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4559, allocations: 0.8125 kB / 0.7042 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.4559, allocations: 10.06 kB / 0.7043 GB, free: 5.938 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.4559, allocations: 9.562 kB / 0.7043 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.4563, allocations: 178 kB / 0.7044 GB, free: 5.891 MB / 494.1 MB 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.001064/0.4574, allocations: 0.8268 MB / 0.7052 GB, free: 5.293 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.4577, allocations: 138 kB / 0.7054 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.4579, allocations: 91.05 kB / 0.7055 GB, free: 5.184 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002818/0.4582, allocations: 0.4972 MB / 0.7059 GB, free: 4.605 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.4582, allocations: 33.22 kB / 0.706 GB, free: 4.566 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.4582, allocations: 0 / 0.706 GB, free: 4.566 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007666/0.459, allocations: 269.7 kB / 0.7062 GB, free: 4.465 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.4591, allocations: 79.05 kB / 0.7063 GB, free: 4.371 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.4593, allocations: 264.7 kB / 0.7066 GB, free: 4.223 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.4593, allocations: 31.08 kB / 0.7066 GB, free: 4.188 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/0.4594, allocations: 167.1 kB / 0.7068 GB, free: 4.047 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.4595, allocations: 43.8 kB / 0.7068 GB, free: 4.012 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/0.4595, allocations: 38.72 kB / 0.7068 GB, free: 3.984 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.021e-05/0.4596, allocations: 333.5 kB / 0.7071 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.4598, allocations: 59.53 kB / 0.7072 GB, free: 3.652 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.46, allocations: 123.6 kB / 0.7073 GB, free: 3.574 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/0.4604, allocations: 173.1 kB / 0.7075 GB, free: 3.496 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4604, allocations: 4 kB / 0.7075 GB, free: 3.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004614/0.4609, allocations: 210 kB / 0.7077 GB, free: 3.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4609, allocations: 5.094 kB / 0.7077 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4609, allocations: 1.469 kB / 0.7077 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.4609, allocations: 3.766 kB / 0.7077 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.4612, allocations: 56.7 kB / 0.7078 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4612, allocations: 4 kB / 0.7078 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.4614, allocations: 30.59 kB / 0.7078 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.4614, allocations: 6.25 kB / 0.7078 GB, free: 3.391 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.0001044/0.4615, allocations: 142.7 kB / 0.7079 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.463e-05/0.4616, allocations: 32.98 kB / 0.708 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.4619, allocations: 184.5 kB / 0.7081 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.4619, allocations: 3.75 kB / 0.7081 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4619, allocations: 0 / 0.7081 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4619, allocations: 1.5 kB / 0.7081 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006856/0.4626, allocations: 0.6009 MB / 0.7087 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4627, allocations: 4.938 kB / 0.7087 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.4629, allocations: 48.91 kB / 0.7088 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.4629, allocations: 3.5 kB / 0.7088 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.4629, allocations: 2.875 kB / 0.7088 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.4629, allocations: 6.438 kB / 0.7088 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4629, allocations: 9.344 kB / 0.7088 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005122/0.4635, allocations: 442.4 kB / 0.7092 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.126e-05/0.4636, allocations: 125 kB / 0.7093 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.4636, allocations: 7.438 kB / 0.7094 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.4638, allocations: 20.11 kB / 0.7094 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.4639, allocations: 22.09 kB / 0.7094 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.4639, allocations: 8.25 kB / 0.7094 GB, free: 2.238 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.4641, allocations: 192.8 kB / 0.7096 GB, free: 2.129 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4641, allocations: 0 / 0.7096 GB, free: 2.129 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004531/0.4645, allocations: 96.03 kB / 0.7097 GB, free: 2.102 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0004052/0.465, allocations: 205.4 kB / 0.7099 GB, free: 1.973 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004833/0.4654, allocations: 170.5 kB / 0.71 GB, free: 1.934 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4655, allocations: 1.062 kB / 0.71 GB, free: 1.934 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.4657, allocations: 105.7 kB / 0.7101 GB, free: 1.906 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007288/0.4665, allocations: 123.7 kB / 0.7103 GB, free: 1.867 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007449/0.4672, allocations: 0.516 MB / 0.7108 GB, free: 1.535 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.4674, allocations: 0.7778 MB / 0.7115 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000158/0.4676, allocations: 55.11 kB / 0.7116 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.4677, allocations: 22.84 kB / 0.7116 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4677, allocations: 0 / 0.7116 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of Templates: time 0.01056/0.4782, allocations: 5.218 MB / 0.7167 GB, free: 332 kB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)