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.004317/0.004317, allocations: 102 kB / 15.73 MB, free: 6.055 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.001015/0.001015, allocations: 194.3 kB / 16.67 MB, free: 5.965 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00199/0.00199, allocations: 293.2 kB / 290.8 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.9177/0.9177, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 91.86 kB / 0.6814 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4395, allocations: 86.98 MB / 0.7664 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01491/0.4544, allocations: 14.76 MB / 0.7808 GB, free: 5.109 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004187/0.4587, allocations: 3.735 MB / 0.7844 GB, free: 1.363 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.4589, allocations: 11.94 kB / 0.7844 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004282/0.4594, allocations: 170.7 kB / 0.7846 GB, free: 1.184 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007209/0.4601, allocations: 398 kB / 0.785 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007424/0.4608, allocations: 332.2 kB / 0.7853 GB, free: 484 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007153/0.4616, allocations: 0.7724 MB / 0.7861 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004043/0.462, allocations: 295.7 kB / 0.7863 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006077/0.4626, allocations: 382.4 kB / 0.7867 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.4629, allocations: 227 kB / 0.7869 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.128e-05/0.4629, allocations: 20 kB / 0.7869 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/0.4633, allocations: 231.5 kB / 0.7872 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.348e-05/0.4634, allocations: 67.75 kB / 0.7872 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.4635, allocations: 147.2 kB / 0.7874 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005072/0.464, allocations: 441.2 kB / 0.7878 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.4641, allocations: 0 / 0.7878 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4641, allocations: 0 / 0.7878 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.4641, allocations: 7.938 kB / 0.7878 GB, free: 13.92 MB / 0.5606 GB 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.0007587/0.4648, allocations: 0.6078 MB / 0.7884 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.4649, allocations: 8.031 kB / 0.7884 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.016e-05/0.465, allocations: 32.56 kB / 0.7884 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.4654, allocations: 327 kB / 0.7887 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.4654, allocations: 16.81 kB / 0.7888 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.4655, allocations: 24.38 kB / 0.7888 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.466, allocations: 265.5 kB / 0.789 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.466, allocations: 0 / 0.789 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.466, allocations: 8 kB / 0.789 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.4661, allocations: 7.938 kB / 0.789 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/0.4665, allocations: 180.6 kB / 0.7892 GB, free: 12.36 MB / 0.5606 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.001105/0.4676, allocations: 0.8319 MB / 0.79 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.4679, allocations: 133.2 kB / 0.7902 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.4682, allocations: 101.5 kB / 0.7903 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003669/0.4685, allocations: 498.6 kB / 0.7907 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.4686, allocations: 34.56 kB / 0.7908 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.4686, allocations: 4 kB / 0.7908 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0007254/0.4693, allocations: 257.4 kB / 0.791 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.4694, allocations: 85.09 kB / 0.7911 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.4696, allocations: 263 kB / 0.7913 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.4697, allocations: 33.7 kB / 0.7914 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.4698, allocations: 168.5 kB / 0.7915 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.4698, allocations: 47.38 kB / 0.7916 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.4699, allocations: 37.61 kB / 0.7916 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.47, allocations: 338.8 kB / 0.7919 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.4702, allocations: 55.95 kB / 0.792 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.4705, allocations: 117.9 kB / 0.7921 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.4709, allocations: 180 kB / 0.7923 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4709, allocations: 0 / 0.7923 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004788/0.4713, allocations: 205.2 kB / 0.7925 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.4714, allocations: 8 kB / 0.7925 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4714, allocations: 4.094 kB / 0.7925 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.4714, allocations: 0 / 0.7925 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.4717, allocations: 55.88 kB / 0.7925 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4717, allocations: 4 kB / 0.7925 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.4719, allocations: 31.81 kB / 0.7926 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.4719, allocations: 4 kB / 0.7926 GB, free: 8.613 MB / 0.5606 GB 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.0001221/0.472, allocations: 148.2 kB / 0.7927 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-05/0.4721, allocations: 27.66 kB / 0.7927 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/0.4724, allocations: 185.3 kB / 0.7929 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.4724, allocations: 4 kB / 0.7929 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4724, allocations: 0 / 0.7929 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4724, allocations: 0 / 0.7929 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007049/0.4731, allocations: 0.6106 MB / 0.7935 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4731, allocations: 7.938 kB / 0.7935 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.4734, allocations: 43.95 kB / 0.7936 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4734, allocations: 4 kB / 0.7936 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.4734, allocations: 4.047 kB / 0.7936 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.306e-05/0.4734, allocations: 7.984 kB / 0.7936 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.4735, allocations: 12.3 kB / 0.7936 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006085/0.4741, allocations: 444.4 kB / 0.794 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.978e-05/0.4742, allocations: 120.7 kB / 0.7941 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.4742, allocations: 8 kB / 0.7941 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.4744, allocations: 16.06 kB / 0.7942 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.4745, allocations: 27.8 kB / 0.7942 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.4745, allocations: 4 kB / 0.7942 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001653/0.4747, allocations: 198 kB / 0.7944 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4747, allocations: 0 / 0.7944 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004009/0.4751, allocations: 87.83 kB / 0.7945 GB, free: 6.559 MB / 0.5606 GB 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.0003985/0.4755, allocations: 206.8 kB / 0.7947 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004838/0.476, allocations: 171.8 kB / 0.7948 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.476, allocations: 0 / 0.7948 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000256/0.4763, allocations: 108 kB / 0.7949 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000742/0.477, allocations: 117.5 kB / 0.795 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007168/0.4777, allocations: 0.5167 MB / 0.7955 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.4781, allocations: 0.7791 MB / 0.7963 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001343/0.4782, allocations: 50.19 kB / 0.7963 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.4783, allocations: 31.44 kB / 0.7964 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of SimCode: time 1.412e-06/0.4783, allocations: 0 / 0.7964 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of Templates: time 0.008954/0.4872, allocations: 5.252 MB / 0.8015 GB, free: 15.36 MB / 0.5762 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)