Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_9_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.0009323/0.0009324, allocations: 87.3 kB / 15.06 MB, free: 1.082 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.0009501/0.0009501, allocations: 176.7 kB / 15.96 MB, free: 196 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.608/1.608, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.487/2.487, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8075/0.8079, allocations: 142.3 MB / 0.9538 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.184/0.9919, allocations: 175.3 MB / 1.125 GB, free: 368 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005435/0.9974, allocations: 3.794 MB / 1.129 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008231/0.9983, allocations: 19.88 kB / 1.129 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.9994, allocations: 306 kB / 1.129 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003509/1.003, allocations: 1.135 MB / 1.13 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003024/1.006, allocations: 0.956 MB / 1.131 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002809/1.009, allocations: 1.986 MB / 1.133 GB, free: 8.148 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/1.01, allocations: 0.8306 MB / 1.134 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002211/1.012, allocations: 0.8642 MB / 1.135 GB, free: 6.438 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/1.014, allocations: 0.8255 MB / 1.135 GB, free: 5.609 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003652/1.014, allocations: 72 kB / 1.136 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002467/1.017, allocations: 0.7132 MB / 1.136 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006072/1.018, allocations: 335 kB / 1.137 GB, free: 4.496 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004177/1.018, allocations: 177.3 kB / 1.137 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001552/1.02, allocations: 1.068 MB / 1.138 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.02, allocations: 0 / 1.138 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.583e-06/1.02, allocations: 0 / 1.138 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.759e-06/1.02, allocations: 4 kB / 1.138 GB, free: 3.242 MB / 0.8887 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.002457/1.022, allocations: 1.188 MB / 1.139 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.022, allocations: 12.03 kB / 1.139 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/1.022, allocations: 90.52 kB / 1.139 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/1.024, allocations: 234.8 kB / 1.139 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008547/1.025, allocations: 0.5647 MB / 1.14 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/1.025, allocations: 44.98 kB / 1.14 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/1.025, allocations: 48 kB / 1.14 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/1.026, allocations: 0.9648 MB / 1.141 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/1.026, allocations: 11.91 kB / 1.141 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.358e-05/1.026, allocations: 24 kB / 1.141 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.385e-05/1.026, allocations: 31.92 kB / 1.141 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/1.028, allocations: 0.9446 MB / 1.142 GB, free: 14.91 MB / 0.9044 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.004638/1.032, allocations: 4.176 MB / 1.146 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008808/1.033, allocations: 0.6017 MB / 1.147 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007444/1.034, allocations: 0.5175 MB / 1.147 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009471/1.035, allocations: 0.8939 MB / 1.148 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/1.035, allocations: 42.92 kB / 1.148 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00139/1.036, allocations: 355.2 kB / 1.148 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=50): time 3.938e-06/1.036, allocations: 0 / 1.148 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of matching and sorting (n=50): time 0.01559/1.052, allocations: 3.689 MB / 1.152 GB, free: 4.211 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/1.052, allocations: 55.84 kB / 1.152 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/1.053, allocations: 0.7 MB / 1.153 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002248/1.053, allocations: 37.7 kB / 1.153 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/1.054, allocations: 320.6 kB / 1.153 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/1.054, allocations: 177.4 kB / 1.153 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/1.054, allocations: 16 kB / 1.153 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.054, allocations: 329.9 kB / 1.153 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000651/1.055, allocations: 396.9 kB / 1.154 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006798/1.055, allocations: 497.5 kB / 1.154 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007127/1.056, allocations: 448.6 kB / 1.155 GB, free: 1.227 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.056, allocations: 3.984 kB / 1.155 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01022/1.066, allocations: 2.482 MB / 1.157 GB, free: 14.72 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/1.066, allocations: 4 kB / 1.157 GB, free: 14.72 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.066, allocations: 4 kB / 1.157 GB, free: 14.71 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008373/1.075, allocations: 1.546 MB / 1.159 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005704/1.075, allocations: 95.86 kB / 1.159 GB, free: 13.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/1.088, allocations: 6.528 MB / 1.165 GB, free: 6.254 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/1.09, allocations: 35.97 kB / 1.165 GB, free: 6.219 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/1.09, allocations: 51.92 kB / 1.165 GB, free: 6.168 MB / 0.92 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.0007113/1.091, allocations: 205.8 kB / 1.165 GB, free: 5.957 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003837/1.091, allocations: 82.92 kB / 1.165 GB, free: 5.875 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005441/1.097, allocations: 1.683 MB / 1.167 GB, free: 4.176 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/1.097, allocations: 8 kB / 1.167 GB, free: 4.168 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/1.097, allocations: 0 / 1.167 GB, free: 4.168 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/1.097, allocations: 3.984 kB / 1.167 GB, free: 4.164 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006607/1.103, allocations: 2.47 MB / 1.17 GB, free: 1.609 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.103, allocations: 0 / 1.17 GB, free: 1.609 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000563/1.104, allocations: 96.08 kB / 1.17 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003083/1.107, allocations: 0.6648 MB / 1.17 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.868e-05/1.107, allocations: 12 kB / 1.17 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006693/1.114, allocations: 4.416 MB / 1.175 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/1.114, allocations: 0 / 1.175 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005335/1.119, allocations: 2.081 MB / 1.177 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005257/1.12, allocations: 235.9 kB / 1.177 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/1.12, allocations: 12 kB / 1.177 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005783/1.12, allocations: 43.94 kB / 1.177 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/1.121, allocations: 44.44 kB / 1.177 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.132e-05/1.121, allocations: 23.98 kB / 1.177 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007942/1.122, allocations: 0.4912 MB / 1.177 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.122, allocations: 4 kB / 1.177 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001026/1.123, allocations: 287.8 kB / 1.178 GB, free: 8.883 MB / 0.9356 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.00577/1.128, allocations: 2.748 MB / 1.18 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003156/1.132, allocations: 1.391 MB / 1.182 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.132, allocations: 256 / 1.182 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002017/1.134, allocations: 0.8911 MB / 1.183 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/1.136, allocations: 440.6 kB / 1.183 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/1.154, allocations: 7.019 MB / 1.19 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006824/1.155, allocations: 0.9867 MB / 1.191 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008591/1.156, allocations: 154.6 kB / 1.191 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/1.156, allocations: 283.3 kB / 1.191 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of SimCode: time 1.282e-06/1.156, allocations: 4 kB / 1.191 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05274/1.209, allocations: 28.08 MB / 1.219 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004248/1.21, allocations: 239 kB / 1.219 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.686, allocations: 0 / 1.219 GB, free: 14.85 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat does not exist to compare? outputFormat=mat