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.001311/0.00131, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001624/0.001624, allocations: 192.9 kB / 16.25 MB, free: 6.641 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.447/1.447, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002446/0.002446, allocations: 290.9 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 178.6 MB / 0.507 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002746/0.002747, allocations: 97.39 kB / 0.6059 GB, free: 25.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1746, allocations: 89.16 MB / 0.693 GB, free: 4.727 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01723/0.1919, allocations: 14.71 MB / 0.7073 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00493/0.1968, allocations: 3.685 MB / 0.7109 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003296/0.1972, allocations: 11.88 kB / 0.7109 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005456/0.1978, allocations: 147.1 kB / 0.7111 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009024/0.1987, allocations: 382.3 kB / 0.7114 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008362/0.1996, allocations: 301.2 kB / 0.7117 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000878/0.2004, allocations: 0.7764 MB / 0.7125 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004252/0.2009, allocations: 288.2 kB / 0.7128 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006444/0.2015, allocations: 382.4 kB / 0.7131 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.2018, allocations: 223.1 kB / 0.7133 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/0.2019, allocations: 24 kB / 0.7134 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004195/0.2023, allocations: 235.4 kB / 0.7136 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.586e-05/0.2024, allocations: 67.75 kB / 0.7137 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.2026, allocations: 139.3 kB / 0.7138 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005486/0.2031, allocations: 426.7 kB / 0.7142 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2031, allocations: 0 / 0.7142 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2031, allocations: 0 / 0.7142 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.2032, allocations: 0 / 0.7142 GB, free: 14.93 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008847/0.204, allocations: 0.6079 MB / 0.7148 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2041, allocations: 12.03 kB / 0.7148 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.382e-05/0.2042, allocations: 32.56 kB / 0.7148 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.2046, allocations: 315 kB / 0.7151 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.2046, allocations: 12.81 kB / 0.7151 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.2047, allocations: 24.38 kB / 0.7152 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/0.2052, allocations: 261.4 kB / 0.7154 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2053, allocations: 7.984 kB / 0.7154 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.2053, allocations: 4 kB / 0.7154 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.2053, allocations: 8 kB / 0.7154 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004873/0.2058, allocations: 180.5 kB / 0.7156 GB, free: 13.39 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.001239/0.2071, allocations: 0.8359 MB / 0.7164 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.2074, allocations: 137.1 kB / 0.7166 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.2076, allocations: 93.59 kB / 0.7166 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004204/0.2081, allocations: 0.4908 MB / 0.7171 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.2081, allocations: 38.56 kB / 0.7172 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.2081, allocations: 0 / 0.7172 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0007837/0.2089, allocations: 257.3 kB / 0.7174 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.209, allocations: 81.11 kB / 0.7175 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.2093, allocations: 267 kB / 0.7177 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.2093, allocations: 29.64 kB / 0.7178 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.2094, allocations: 176.2 kB / 0.7179 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.2095, allocations: 35.45 kB / 0.718 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-05/0.2096, allocations: 41.62 kB / 0.718 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2097, allocations: 334.8 kB / 0.7183 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.2099, allocations: 59.94 kB / 0.7184 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.2102, allocations: 117.9 kB / 0.7185 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.2106, allocations: 176.1 kB / 0.7187 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2106, allocations: 0 / 0.7187 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005119/0.2112, allocations: 217.1 kB / 0.7189 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2112, allocations: 4 kB / 0.7189 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2112, allocations: 0 / 0.7189 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.2112, allocations: 4 kB / 0.7189 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.2115, allocations: 56.03 kB / 0.7189 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.2115, allocations: 4 kB / 0.7189 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.2117, allocations: 31.81 kB / 0.719 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.2118, allocations: 8 kB / 0.719 GB, free: 9.629 MB / 0.5137 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.0001521/0.2119, allocations: 149.7 kB / 0.7191 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-05/0.212, allocations: 31.64 kB / 0.7191 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003202/0.2123, allocations: 195.2 kB / 0.7193 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.2123, allocations: 4 kB / 0.7193 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2124, allocations: 0 / 0.7193 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2124, allocations: 0 / 0.7193 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008245/0.2132, allocations: 0.603 MB / 0.7199 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.2132, allocations: 8.031 kB / 0.7199 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.2135, allocations: 51.89 kB / 0.72 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.2135, allocations: 4 kB / 0.72 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.2135, allocations: 0 / 0.72 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.2135, allocations: 7.984 kB / 0.72 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2135, allocations: 0 / 0.72 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006491/0.2142, allocations: 443.2 kB / 0.7204 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.2143, allocations: 120.8 kB / 0.7205 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.2143, allocations: 4 kB / 0.7205 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.2146, allocations: 27.91 kB / 0.7206 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.2147, allocations: 15.92 kB / 0.7206 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.2147, allocations: 8 kB / 0.7206 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001923/0.2149, allocations: 197.9 kB / 0.7208 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2149, allocations: 4 kB / 0.7208 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004462/0.2153, allocations: 83.84 kB / 0.7209 GB, free: 7.57 MB / 0.5137 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.0004496/0.2158, allocations: 211.4 kB / 0.7211 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000528/0.2163, allocations: 175.8 kB / 0.7212 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2163, allocations: 0 / 0.7212 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.2166, allocations: 112.3 kB / 0.7213 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008552/0.2175, allocations: 121.6 kB / 0.7215 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009128/0.2184, allocations: 0.6182 MB / 0.7221 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.2188, allocations: 0.7753 MB / 0.7228 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001595/0.219, allocations: 50.25 kB / 0.7229 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.2191, allocations: 23.44 kB / 0.7229 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.2191, allocations: 0 / 0.7229 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of Templates: time 0.01041/0.2295, allocations: 5.098 MB / 0.7279 GB, free: 436 kB / 0.5137 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)