Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.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.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_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.001404/0.001405, allocations: 100.2 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.001611/0.001611, 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.489/1.489, 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.484/2.484, allocations: 390.3 MB / 0.6653 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003711, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7285/0.7289, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001136/0.73, allocations: 0.9803 MB / 0.9545 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002193/0.7303, allocations: 110.5 kB / 0.9546 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.7303, allocations: 1.094 kB / 0.9546 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.237e-05/0.7303, allocations: 0 / 0.9546 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.087e-05/0.7304, allocations: 9.547 kB / 0.9547 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.7306, allocations: 26.14 kB / 0.9547 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.344e-05/0.7306, allocations: 9.453 kB / 0.9547 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.7307, allocations: 4 kB / 0.9547 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.016e-05/0.7307, allocations: 3.875 kB / 0.9547 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.086e-05/0.7308, allocations: 14.14 kB / 0.9547 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.7308, allocations: 1.25 kB / 0.9547 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.7309, allocations: 43.67 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.604e-06/0.7309, allocations: 3.984 kB / 0.9548 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.7309, allocations: 28.36 kB / 0.9548 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.186e-05/0.731, allocations: 22.16 kB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.731, allocations: 0 / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.731, allocations: 0 / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.731, allocations: 4 kB / 0.9548 GB, free: 7.082 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002601/0.7313, allocations: 333.5 kB / 0.9551 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.7314, allocations: 9.688 kB / 0.9551 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.474e-05/0.7314, allocations: 34.55 kB / 0.9552 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.13e-05/0.7314, allocations: 5.734 kB / 0.9552 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.853e-05/0.7315, allocations: 167.8 kB / 0.9553 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.7315, allocations: 1.656 kB / 0.9553 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.7315, allocations: 4 kB / 0.9553 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.72e-05/0.7316, allocations: 41.77 kB / 0.9554 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.7316, allocations: 0 / 0.9554 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.7316, allocations: 3.984 kB / 0.9554 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.7316, allocations: 0 / 0.9554 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.897e-05/0.7317, allocations: 7.609 kB / 0.9554 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001057/0.7318, allocations: 149.8 kB / 0.9555 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.209e-05/0.7318, allocations: 23.69 kB / 0.9556 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005735/0.7324, allocations: 0.613 MB / 0.9562 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.7324, allocations: 39.7 kB / 0.9562 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.7324, allocations: 0 / 0.9562 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.00012/0.7326, allocations: 39.2 kB / 0.9562 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/0.7326, allocations: 52.94 kB / 0.9563 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.328e-05/0.7326, allocations: 97.81 kB / 0.9564 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.59e-06/0.7327, allocations: 29.83 kB / 0.9564 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.574e-05/0.7327, allocations: 85.48 kB / 0.9565 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.7327, allocations: 8.906 kB / 0.9565 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-06/0.7327, allocations: 0 / 0.9565 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.999e-05/0.7328, allocations: 316.3 kB / 0.9568 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.7328, allocations: 1.344 kB / 0.9568 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-06/0.7328, allocations: 1.375 kB / 0.9568 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.652e-05/0.7328, allocations: 7.312 kB / 0.9568 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7328, allocations: 8 kB / 0.9568 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.146e-05/0.7329, allocations: 38.03 kB / 0.9568 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.7329, allocations: 5.781 kB / 0.9569 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.7329, allocations: 3.984 kB / 0.9569 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.7329, allocations: 1.156 kB / 0.9569 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.681e-05/0.733, allocations: 2.438 kB / 0.9569 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.733, allocations: 1.188 kB / 0.9569 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/0.733, allocations: 3.938 kB / 0.9569 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.733, allocations: 1.188 kB / 0.9569 GB, free: 4.762 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 (2): * Single equations (assignments): 2 * 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 4.097e-05/0.733, allocations: 119.2 kB / 0.957 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.7331, allocations: 8.797 kB / 0.957 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.85e-05/0.7331, allocations: 45.2 kB / 0.957 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.7332, allocations: 1.156 kB / 0.957 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.7332, allocations: 0 / 0.957 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.7332, allocations: 3.984 kB / 0.957 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.382e-05/0.7332, allocations: 149.2 kB / 0.9572 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7332, allocations: 0 / 0.9572 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/0.7333, allocations: 3.625 kB / 0.9572 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.7333, allocations: 8.016 kB / 0.9572 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.7333, allocations: 1.156 kB / 0.9572 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7333, allocations: 0 / 0.9572 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7333, allocations: 1.469 kB / 0.9572 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.612e-05/0.7333, allocations: 69.59 kB / 0.9573 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.7334, allocations: 82.34 kB / 0.9573 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.7334, allocations: 1.312 kB / 0.9573 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.628e-05/0.7334, allocations: 0 / 0.9573 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.7334, allocations: 5.438 kB / 0.9573 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.7334, allocations: 0 / 0.9573 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.851e-05/0.7335, allocations: 83.39 kB / 0.9574 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7335, allocations: 0 / 0.9574 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002075/0.7337, allocations: 10.84 kB / 0.9574 GB, free: 4.125 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 (2): * Single equations (assignments): 2 * 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.0002781/0.734, allocations: 0.6276 MB / 0.958 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.418e-05/0.734, allocations: 10.78 kB / 0.9581 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.734, allocations: 0 / 0.9581 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.178e-05/0.7341, allocations: 8.062 kB / 0.9581 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.7343, allocations: 7.891 kB / 0.9581 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.7347, allocations: 356.7 kB / 0.9584 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.7349, allocations: 0.6768 MB / 0.9591 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.829e-05/0.7349, allocations: 6.422 kB / 0.9591 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.7349, allocations: 8.375 kB / 0.9591 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.7349, allocations: 0 / 0.9591 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01162/0.7465, allocations: 1.211 MB / 0.9603 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/0.7467, allocations: 183.8 kB / 0.9604 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.315, allocations: 0 / 0.9604 GB, free: 1.621 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat does not exist to compare? outputFormat=mat