Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.001002/0.001003, allocations: 99.86 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.0009621/0.0009621, allocations: 177.3 kB / 15.95 MB, free: 216 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.371/1.371, allocations: 223.2 MB / 239.9 MB, free: 5.434 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.323/2.323, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003484, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7421/0.7425, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001065/0.7436, allocations: 1.001 MB / 0.9546 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004346/0.744, allocations: 279.1 kB / 0.9548 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.353e-05/0.7441, allocations: 0 / 0.9548 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.22e-05/0.7441, allocations: 5.344 kB / 0.9548 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.267e-05/0.7442, allocations: 9.375 kB / 0.9548 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.7444, allocations: 55.44 kB / 0.9549 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.515e-05/0.7445, allocations: 20.53 kB / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.7445, allocations: 5.562 kB / 0.9549 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.7446, allocations: 37.97 kB / 0.955 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.412e-05/0.7447, allocations: 12.92 kB / 0.955 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.7447, allocations: 1.156 kB / 0.955 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.7449, allocations: 78.45 kB / 0.9551 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.7449, allocations: 5.594 kB / 0.9551 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.568e-05/0.7449, allocations: 36.17 kB / 0.9551 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.544e-05/0.745, allocations: 53.2 kB / 0.9551 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.745, allocations: 1.25 kB / 0.9551 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.745, allocations: 0 / 0.9551 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.745, allocations: 0 / 0.9551 GB, free: 6.891 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002796/0.7453, allocations: 340.7 kB / 0.9555 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.7454, allocations: 9.469 kB / 0.9555 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.7454, allocations: 39.72 kB / 0.9555 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.7454, allocations: 9.359 kB / 0.9555 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.997e-05/0.7455, allocations: 173.1 kB / 0.9557 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.7456, allocations: 1.094 kB / 0.9557 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-06/0.7456, allocations: 1.125 kB / 0.9557 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.7457, allocations: 34.95 kB / 0.9557 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.7457, allocations: 7.984 kB / 0.9557 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.7457, allocations: 5.031 kB / 0.9557 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.7457, allocations: 0 / 0.9557 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.226e-05/0.7458, allocations: 10.33 kB / 0.9557 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.7459, allocations: 156.1 kB / 0.9559 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.14e-05/0.746, allocations: 38.45 kB / 0.9559 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000849/0.7468, allocations: 1.192 MB / 0.9571 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.7469, allocations: 31.94 kB / 0.9571 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.7469, allocations: 0 / 0.9571 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.00015/0.747, allocations: 52.53 kB / 0.9572 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.7471, allocations: 51.41 kB / 0.9572 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.941e-05/0.7471, allocations: 111.2 kB / 0.9573 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.7472, allocations: 25.7 kB / 0.9574 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.899e-05/0.7472, allocations: 85.11 kB / 0.9574 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.7472, allocations: 8.75 kB / 0.9574 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.7472, allocations: 0.875 kB / 0.9574 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.174e-05/0.7473, allocations: 319.9 kB / 0.9578 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.7473, allocations: 9.922 kB / 0.9578 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.179e-05/0.7473, allocations: 4.156 kB / 0.9578 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.901e-05/0.7473, allocations: 2.906 kB / 0.9578 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7473, allocations: 0 / 0.9578 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.939e-05/0.7474, allocations: 46 kB / 0.9578 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.7474, allocations: 4.469 kB / 0.9578 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.7474, allocations: 1.359 kB / 0.9578 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.7475, allocations: 4 kB / 0.9578 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-05/0.7475, allocations: 5.594 kB / 0.9578 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.7475, allocations: 0 / 0.9578 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.843e-05/0.7476, allocations: 1.094 kB / 0.9578 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.7476, allocations: 5.062 kB / 0.9578 GB, free: 3.863 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.382e-05/0.7476, allocations: 111 kB / 0.9579 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.7477, allocations: 14 kB / 0.958 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.7478, allocations: 64.09 kB / 0.958 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.7478, allocations: 1.281 kB / 0.958 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7478, allocations: 0 / 0.958 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.7478, allocations: 0 / 0.958 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.011e-05/0.7479, allocations: 168.6 kB / 0.9582 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7479, allocations: 3.938 kB / 0.9582 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.687e-05/0.7479, allocations: 4.625 kB / 0.9582 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.7479, allocations: 4.984 kB / 0.9582 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.7479, allocations: 1.188 kB / 0.9582 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7479, allocations: 4 kB / 0.9582 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7479, allocations: 0 / 0.9582 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.173e-05/0.748, allocations: 74.61 kB / 0.9583 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.7481, allocations: 88.67 kB / 0.9583 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.7481, allocations: 0 / 0.9583 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.969e-05/0.7481, allocations: 5.109 kB / 0.9584 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.7482, allocations: 2.312 kB / 0.9584 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.7482, allocations: 1.156 kB / 0.9584 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.094e-05/0.7482, allocations: 96.83 kB / 0.9584 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7482, allocations: 1.094 kB / 0.9584 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002175/0.7484, allocations: 27.86 kB / 0.9585 GB, free: 3.172 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003107/0.7487, allocations: 0.6315 MB / 0.9591 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.48e-05/0.7488, allocations: 17.39 kB / 0.9591 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7488, allocations: 1.438 kB / 0.9591 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.474e-05/0.7489, allocations: 9.656 kB / 0.9591 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.749, allocations: 1.281 kB / 0.9591 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003716/0.7494, allocations: 177.4 kB / 0.9593 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.7495, allocations: 0.6843 MB / 0.96 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.617e-05/0.7496, allocations: 8.438 kB / 0.96 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.7496, allocations: 10.09 kB / 0.96 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7496, allocations: 0 / 0.96 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01061/0.7603, allocations: 1.409 MB / 0.9614 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.7605, allocations: 194.8 kB / 0.9615 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.398, allocations: 0 / 0.9615 GB, free: 0.7539 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat does not exist to compare? outputFormat=mat