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.0009625/0.0009624, allocations: 100 kB / 15.05 MB, free: 1.105 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.001061/0.001061, allocations: 177.3 kB / 15.94 MB, free: 220 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.391/1.391, allocations: 223.2 MB / 239.9 MB, free: 5.371 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.303/2.303, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005089/0.000509, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7882/0.7887, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1791/0.9678, allocations: 159.8 MB / 1.11 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006277/0.9742, allocations: 4.087 MB / 1.114 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007383/0.9749, allocations: 11.94 kB / 1.114 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.9762, allocations: 418 kB / 1.114 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003921/0.9801, allocations: 1.483 MB / 1.115 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.9819, allocations: 0.6374 MB / 1.116 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001782/0.9837, allocations: 0.991 MB / 1.117 GB, free: 8.316 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.9848, allocations: 0.8307 MB / 1.118 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.9869, allocations: 0.9583 MB / 1.119 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008946/0.9878, allocations: 0.6582 MB / 1.119 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.9879, allocations: 72 kB / 1.12 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.9897, allocations: 0.6748 MB / 1.12 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003094/0.99, allocations: 307.2 kB / 1.12 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.9903, allocations: 181.3 kB / 1.121 GB, free: 4.621 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.9915, allocations: 1.025 MB / 1.122 GB, free: 3.598 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.9915, allocations: 0 / 1.122 GB, free: 3.598 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.482e-06/0.9915, allocations: 0 / 1.122 GB, free: 3.598 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.9915, allocations: 0 / 1.122 GB, free: 3.598 MB / 0.8731 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.002428/0.994, allocations: 1.188 MB / 1.123 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.994, allocations: 8.031 kB / 1.123 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.9941, allocations: 94.5 kB / 1.123 GB, free: 2.25 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.9957, allocations: 242.8 kB / 1.123 GB, free: 2.012 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008658/0.9965, allocations: 0.557 MB / 1.124 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.9966, allocations: 37 kB / 1.124 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.9967, allocations: 51.98 kB / 1.124 GB, free: 1.328 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.9981, allocations: 0.9648 MB / 1.125 GB, free: 292 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.9981, allocations: 11.84 kB / 1.125 GB, free: 280 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.942e-05/0.9982, allocations: 23.98 kB / 1.125 GB, free: 256 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.838e-05/0.9983, allocations: 32 kB / 1.125 GB, free: 224 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.9998, allocations: 0.9406 MB / 1.126 GB, free: 15.28 MB / 0.8887 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.005148/1.005, allocations: 4.184 MB / 1.13 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009624/1.006, allocations: 0.6196 MB / 1.13 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008529/1.007, allocations: 0.716 MB / 1.131 GB, free: 9.43 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/1.007, allocations: 35 kB / 1.131 GB, free: 9.387 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001567/1.008, allocations: 363.2 kB / 1.131 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=50): time 2.875e-06/1.008, allocations: 0 / 1.131 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of matching and sorting (n=50): time 0.01785/1.026, allocations: 3.67 MB / 1.135 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/1.026, allocations: 63.78 kB / 1.135 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/1.027, allocations: 0.7 MB / 1.136 GB, free: 4.523 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/1.028, allocations: 33.7 kB / 1.136 GB, free: 4.484 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/1.028, allocations: 324.6 kB / 1.136 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/1.028, allocations: 181.4 kB / 1.136 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/1.028, allocations: 8 kB / 1.136 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.028, allocations: 330 kB / 1.137 GB, free: 3.648 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006613/1.029, allocations: 392.9 kB / 1.137 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007038/1.03, allocations: 489.5 kB / 1.137 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007512/1.03, allocations: 456.6 kB / 1.138 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.03, allocations: 3.953 kB / 1.138 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01142/1.042, allocations: 2.478 MB / 1.14 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/1.042, allocations: 9.672 kB / 1.14 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.042, allocations: 4 kB / 1.14 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009593/1.051, allocations: 1.542 MB / 1.142 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/1.052, allocations: 95.86 kB / 1.142 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/1.064, allocations: 6.688 MB / 1.148 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009803/1.065, allocations: 32.03 kB / 1.149 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/1.065, allocations: 51.92 kB / 1.149 GB, free: 7.109 MB / 0.9044 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.0004211/1.066, allocations: 201.8 kB / 1.149 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/1.066, allocations: 86.92 kB / 1.149 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005067/1.071, allocations: 1.679 MB / 1.15 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/1.071, allocations: 4.188 kB / 1.15 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.071, allocations: 4 kB / 1.15 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/1.071, allocations: 7.969 kB / 1.15 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005787/1.077, allocations: 2.466 MB / 1.153 GB, free: 2.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.077, allocations: 8.188 kB / 1.153 GB, free: 2.547 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004516/1.077, allocations: 87.89 kB / 1.153 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003257/1.08, allocations: 0.6653 MB / 1.154 GB, free: 1.789 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-05/1.08, allocations: 15.95 kB / 1.154 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006297/1.087, allocations: 4.513 MB / 1.158 GB, free: 13 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.087, allocations: 4 kB / 1.158 GB, free: 12.99 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005236/1.092, allocations: 2.146 MB / 1.16 GB, free: 10.77 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005387/1.093, allocations: 231.9 kB / 1.16 GB, free: 10.52 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/1.093, allocations: 16 kB / 1.16 GB, free: 10.51 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006246/1.093, allocations: 39.92 kB / 1.16 GB, free: 10.47 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/1.094, allocations: 52.44 kB / 1.16 GB, free: 10.41 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/1.094, allocations: 19.98 kB / 1.161 GB, free: 10.39 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006261/1.094, allocations: 0.4911 MB / 1.161 GB, free: 9.906 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/1.094, allocations: 0 / 1.161 GB, free: 9.906 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001021/1.095, allocations: 295.8 kB / 1.161 GB, free: 9.617 MB / 0.92 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.005822/1.101, allocations: 3.234 MB / 1.164 GB, free: 6.316 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003128/1.104, allocations: 1.39 MB / 1.166 GB, free: 4.902 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.104, allocations: 3.938 kB / 1.166 GB, free: 4.898 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001805/1.106, allocations: 0.8836 MB / 1.167 GB, free: 3.988 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/1.108, allocations: 441 kB / 1.167 GB, free: 3.562 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01841/1.127, allocations: 8.161 MB / 1.175 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006108/1.127, allocations: 1.006 MB / 1.176 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0007849/1.128, allocations: 158.6 kB / 1.176 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/1.128, allocations: 283.3 kB / 1.176 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of SimCode: time 7.81e-07/1.129, allocations: 4 kB / 1.176 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04687/1.175, allocations: 28.06 MB / 1.204 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002809/1.176, allocations: 234.5 kB / 1.204 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/3.69, allocations: 3.938 kB / 1.204 GB, free: 13.92 MB / 0.9669 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