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.001027/0.001027, allocations: 102.9 kB / 16.37 MB, free: 6.469 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.001084/0.001084, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002036/0.002036, allocations: 293.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9134/0.9134, allocations: 169.2 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 98.06 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1548, allocations: 86.97 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.2705/0.4253, allocations: 14.77 MB / 0.696 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004315/0.4297, allocations: 3.732 MB / 0.6997 GB, free: 8.469 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003732/0.4301, allocations: 16.59 kB / 0.6997 GB, free: 8.461 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005413/0.4306, allocations: 173.4 kB / 0.6998 GB, free: 8.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008684/0.4315, allocations: 395.7 kB / 0.7002 GB, free: 8.121 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008567/0.4324, allocations: 325.8 kB / 0.7005 GB, free: 7.965 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007409/0.4331, allocations: 0.7765 MB / 0.7013 GB, free: 7.621 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004322/0.4336, allocations: 289.7 kB / 0.7016 GB, free: 7.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006624/0.4342, allocations: 382.3 kB / 0.7019 GB, free: 7.336 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.4345, allocations: 223.7 kB / 0.7021 GB, free: 7.234 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.151e-05/0.4346, allocations: 21.25 kB / 0.7022 GB, free: 7.234 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004715/0.4351, allocations: 236 kB / 0.7024 GB, free: 7.145 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.261e-05/0.4352, allocations: 73.31 kB / 0.7025 GB, free: 7.105 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.4353, allocations: 139.7 kB / 0.7026 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006019/0.4359, allocations: 432.4 kB / 0.703 GB, free: 6.867 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4359, allocations: 4.547 kB / 0.703 GB, free: 6.863 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4359, allocations: 0 / 0.703 GB, free: 6.863 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.436, allocations: 4.875 kB / 0.703 GB, free: 6.859 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.0007408/0.4367, allocations: 0.6067 MB / 0.7036 GB, free: 6.352 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.4367, allocations: 9.219 kB / 0.7036 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.741e-05/0.4368, allocations: 34.22 kB / 0.7037 GB, free: 6.336 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.4372, allocations: 332.2 kB / 0.704 GB, free: 6.066 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.4373, allocations: 19.72 kB / 0.704 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.4373, allocations: 20.12 kB / 0.704 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.4378, allocations: 261.6 kB / 0.7043 GB, free: 5.938 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.4378, allocations: 1.094 kB / 0.7043 GB, free: 5.938 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.4379, allocations: 9.781 kB / 0.7043 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.4379, allocations: 12.98 kB / 0.7043 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/0.4383, allocations: 180.6 kB / 0.7045 GB, free: 5.879 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.001083/0.4394, allocations: 0.8316 MB / 0.7053 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.4397, allocations: 136.3 kB / 0.7054 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.4399, allocations: 91.39 kB / 0.7055 GB, free: 5.168 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/0.4401, allocations: 0.4937 MB / 0.706 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.4402, allocations: 41.2 kB / 0.706 GB, free: 4.547 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.4402, allocations: 0 / 0.706 GB, free: 4.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007044/0.4409, allocations: 261.2 kB / 0.7063 GB, free: 4.453 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.4409, allocations: 79.89 kB / 0.7063 GB, free: 4.359 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.4412, allocations: 263.7 kB / 0.7066 GB, free: 4.211 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.4412, allocations: 32.41 kB / 0.7066 GB, free: 4.176 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.4413, allocations: 164.9 kB / 0.7068 GB, free: 4.035 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.4413, allocations: 43.86 kB / 0.7068 GB, free: 4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.4414, allocations: 40.08 kB / 0.7068 GB, free: 3.973 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.854e-05/0.4414, allocations: 336.5 kB / 0.7072 GB, free: 3.648 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.4416, allocations: 60.78 kB / 0.7072 GB, free: 3.637 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.4418, allocations: 122.5 kB / 0.7073 GB, free: 3.559 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.4422, allocations: 169.8 kB / 0.7075 GB, free: 3.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4422, allocations: 4.656 kB / 0.7075 GB, free: 3.477 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004492/0.4427, allocations: 208 kB / 0.7077 GB, free: 3.395 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4427, allocations: 6.906 kB / 0.7077 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4427, allocations: 1.094 kB / 0.7077 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.4427, allocations: 2.156 kB / 0.7077 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.443, allocations: 58.11 kB / 0.7078 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.443, allocations: 1.938 kB / 0.7078 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.4432, allocations: 31.05 kB / 0.7078 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.4432, allocations: 7.469 kB / 0.7078 GB, free: 3.375 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.0001031/0.4433, allocations: 145.3 kB / 0.708 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.4434, allocations: 28.91 kB / 0.708 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.4437, allocations: 185.1 kB / 0.7082 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.4437, allocations: 3.016 kB / 0.7082 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4437, allocations: 2.328 kB / 0.7082 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.4437, allocations: 4.828 kB / 0.7082 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006634/0.4444, allocations: 0.5954 MB / 0.7087 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.4444, allocations: 11.25 kB / 0.7088 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.4446, allocations: 51.64 kB / 0.7088 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4447, allocations: 2.438 kB / 0.7088 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.4447, allocations: 3.531 kB / 0.7088 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.4447, allocations: 2.281 kB / 0.7088 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.4447, allocations: 5.906 kB / 0.7088 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.4452, allocations: 444.7 kB / 0.7092 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.963e-05/0.4453, allocations: 125 kB / 0.7094 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.4453, allocations: 3.812 kB / 0.7094 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.4456, allocations: 19.44 kB / 0.7094 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.4456, allocations: 23.03 kB / 0.7094 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.4456, allocations: 7.328 kB / 0.7094 GB, free: 2.219 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.4458, allocations: 193.8 kB / 0.7096 GB, free: 2.109 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4458, allocations: 0 / 0.7096 GB, free: 2.109 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004703/0.4463, allocations: 91.64 kB / 0.7097 GB, free: 2.086 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.0004243/0.4467, allocations: 210.9 kB / 0.7099 GB, free: 1.953 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004814/0.4472, allocations: 170.2 kB / 0.71 GB, free: 1.914 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4472, allocations: 0 / 0.71 GB, free: 1.914 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.4475, allocations: 107.5 kB / 0.7102 GB, free: 1.887 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007382/0.4482, allocations: 120.8 kB / 0.7103 GB, free: 1.848 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007329/0.449, allocations: 0.5195 MB / 0.7108 GB, free: 1.512 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.4492, allocations: 0.7698 MB / 0.7115 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001577/0.4493, allocations: 53.91 kB / 0.7116 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.4494, allocations: 22.62 kB / 0.7116 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4494, allocations: 0.7188 kB / 0.7116 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of Templates: time 0.01011/0.4595, allocations: 5.222 MB / 0.7167 GB, free: 316 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)