Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",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.0009722/0.0009722, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001221/0.001221, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.517/2.517, allocations: 409.4 MB / 0.684 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003576, allocations: 12 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6437/0.6441, allocations: 146.8 MB / 0.9811 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1878/0.8319, allocations: 175.3 MB / 1.152 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006017/0.838, allocations: 3.791 MB / 1.156 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008981/0.8389, allocations: 15.88 kB / 1.156 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009742/0.8399, allocations: 317.9 kB / 1.156 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003572/0.8435, allocations: 1.131 MB / 1.157 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003055/0.8466, allocations: 0.9672 MB / 1.158 GB, free: 272 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002623/0.8492, allocations: 1.982 MB / 1.16 GB, free: 14.28 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.8505, allocations: 0.8308 MB / 1.161 GB, free: 13.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.8522, allocations: 0.8526 MB / 1.162 GB, free: 12.58 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.8534, allocations: 0.8255 MB / 1.163 GB, free: 11.75 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.8536, allocations: 72 kB / 1.163 GB, free: 11.68 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.8555, allocations: 0.7211 MB / 1.164 GB, free: 10.96 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003416/0.8559, allocations: 327 kB / 1.164 GB, free: 10.64 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.8562, allocations: 173.3 kB / 1.164 GB, free: 10.46 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.8575, allocations: 1.079 MB / 1.165 GB, free: 9.379 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.8575, allocations: 0 / 1.165 GB, free: 9.379 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8575, allocations: 0 / 1.165 GB, free: 9.379 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.8575, allocations: 0 / 1.165 GB, free: 9.379 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002521/0.8601, allocations: 1.184 MB / 1.166 GB, free: 8.145 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.8601, allocations: 12.03 kB / 1.166 GB, free: 8.133 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.8603, allocations: 94.5 kB / 1.166 GB, free: 8.031 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.8619, allocations: 238.7 kB / 1.167 GB, free: 7.797 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009205/0.8628, allocations: 0.5609 MB / 1.167 GB, free: 7.195 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.8629, allocations: 40.94 kB / 1.167 GB, free: 7.156 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.863, allocations: 59.84 kB / 1.167 GB, free: 7.098 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.8645, allocations: 0.9648 MB / 1.168 GB, free: 6.059 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.8645, allocations: 0 / 1.168 GB, free: 6.059 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.71e-05/0.8646, allocations: 20 kB / 1.168 GB, free: 6.039 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/0.8646, allocations: 27.98 kB / 1.168 GB, free: 6.012 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.8661, allocations: 0.9484 MB / 1.169 GB, free: 5.062 MB / 0.92 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.005078/0.8712, allocations: 4.18 MB / 1.173 GB, free: 0.707 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009366/0.8722, allocations: 0.5992 MB / 1.174 GB, free: 104 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007965/0.873, allocations: 0.5214 MB / 1.174 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/0.874, allocations: 0.886 MB / 1.175 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.8741, allocations: 42.98 kB / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001449/0.8755, allocations: 359.1 kB / 1.176 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=50): time 3.426e-06/0.8756, allocations: 0 / 1.176 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=50): time 0.01542/0.891, allocations: 3.685 MB / 1.179 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.8911, allocations: 59.84 kB / 1.179 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009518/0.892, allocations: 0.7078 MB / 1.18 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.8922, allocations: 29.7 kB / 1.18 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.8924, allocations: 324.6 kB / 1.18 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.8926, allocations: 177.4 kB / 1.18 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.8927, allocations: 8 kB / 1.18 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.8928, allocations: 329.9 kB / 1.181 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000665/0.8935, allocations: 400.9 kB / 1.181 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007098/0.8942, allocations: 493.5 kB / 1.182 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007458/0.8949, allocations: 448.7 kB / 1.182 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.8949, allocations: 0 / 1.182 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0102/0.9052, allocations: 2.482 MB / 1.184 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.9052, allocations: 4 kB / 1.184 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.9052, allocations: 4 kB / 1.184 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008365/0.9136, allocations: 1.542 MB / 1.186 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.9141, allocations: 95.86 kB / 1.186 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.9256, allocations: 6.543 MB / 1.192 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009068/0.9266, allocations: 27.97 kB / 1.192 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.9267, allocations: 51.92 kB / 1.193 GB, free: 12.32 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003951/0.9271, allocations: 213.6 kB / 1.193 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.9273, allocations: 82.97 kB / 1.193 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004829/0.9321, allocations: 1.667 MB / 1.194 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/0.9322, allocations: 12 kB / 1.194 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.9322, allocations: 4 kB / 1.194 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.9322, allocations: 3.984 kB / 1.194 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005511/0.9377, allocations: 2.474 MB / 1.197 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.9377, allocations: 0 / 1.197 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/0.9382, allocations: 95.83 kB / 1.197 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003021/0.9412, allocations: 0.6654 MB / 1.198 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.139e-05/0.9413, allocations: 16 kB / 1.198 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006116/0.9474, allocations: 4.409 MB / 1.202 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.9474, allocations: 4 kB / 1.202 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004915/0.9524, allocations: 2.085 MB / 1.204 GB, free: 176 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005221/0.9529, allocations: 248 kB / 1.204 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.953, allocations: 16 kB / 1.204 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005432/0.9536, allocations: 31.98 kB / 1.204 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.9538, allocations: 52.42 kB / 1.204 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.828e-05/0.9538, allocations: 20 kB / 1.204 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006165/0.9545, allocations: 499 kB / 1.205 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9545, allocations: 0 / 1.205 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009989/0.9555, allocations: 287.8 kB / 1.205 GB, free: 15.02 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005576/0.9611, allocations: 2.762 MB / 1.208 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003048/0.9641, allocations: 1.386 MB / 1.209 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.9642, allocations: 0 / 1.209 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00167/0.9658, allocations: 0.8835 MB / 1.21 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.968, allocations: 447.4 kB / 1.21 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01793/0.9859, allocations: 7.008 MB / 1.217 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/0.9866, allocations: 0.9867 MB / 1.218 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007951/0.9874, allocations: 162.6 kB / 1.218 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004277/0.9878, allocations: 283.3 kB / 1.219 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of SimCode: time 6.21e-07/0.9878, allocations: 0 / 1.219 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08164/1.069, allocations: 28.08 MB / 1.246 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003352/1.07, allocations: 248.6 kB / 1.246 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/3.643, allocations: 0 / 1.246 GB, free: 4.93 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat does not exist to compare? outputFormat=mat