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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 167.4 kB / 498.1 MB, free: 5.773 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.1 MB / 0.7948 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009271/0.0009273, allocations: 91.84 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004016, allocations: 9.156 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2514, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.377/3.629, allocations: 1.911 GB / 3.134 GB, free: 102.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/3.629, allocations: 94.62 kB / 3.134 GB, free: 102.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.37/5.999, allocations: 0.6813 GB / 3.816 GB, free: 294.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.325e-06/5.999, allocations: 0 / 3.816 GB, free: 294.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.637e-05/5.999, allocations: 20.02 kB / 3.816 GB, free: 294.7 MB / 1.167 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.003882/6.003, allocations: 1.25 MB / 3.817 GB, free: 294.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/6.003, allocations: 7.438 kB / 3.817 GB, free: 294.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000274/6.003, allocations: 93 kB / 3.817 GB, free: 294 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/6.005, allocations: 233.4 kB / 3.817 GB, free: 294 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/6.007, allocations: 0.6007 MB / 3.818 GB, free: 293.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.261e-05/6.007, allocations: 40.44 kB / 3.818 GB, free: 293.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/6.007, allocations: 58.02 kB / 3.818 GB, free: 293.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/6.009, allocations: 1.019 MB / 3.819 GB, free: 293.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/6.009, allocations: 10.97 kB / 3.819 GB, free: 293.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-05/6.009, allocations: 20.06 kB / 3.819 GB, free: 293.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/6.009, allocations: 15.41 kB / 3.819 GB, free: 293.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/6.01, allocations: 0.981 MB / 3.82 GB, free: 293.5 MB / 1.167 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.005116/6.015, allocations: 4.452 MB / 3.824 GB, free: 290.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00085/6.016, allocations: 0.6045 MB / 3.825 GB, free: 290.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008041/6.017, allocations: 0.8741 MB / 3.826 GB, free: 289.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/6.017, allocations: 51.72 kB / 3.826 GB, free: 289.9 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002345/6.019, allocations: 0.5649 MB / 3.826 GB, free: 289.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=50): time 6.772e-06/6.019, allocations: 0 / 3.826 GB, free: 289.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=50): time 0.01718/6.037, allocations: 3.677 MB / 3.83 GB, free: 289.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/6.037, allocations: 55.72 kB / 3.83 GB, free: 289.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/6.038, allocations: 0.6208 MB / 3.831 GB, free: 289.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001442/6.038, allocations: 33.39 kB / 3.831 GB, free: 289.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/6.038, allocations: 326.3 kB / 3.831 GB, free: 289.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/6.038, allocations: 174.2 kB / 3.831 GB, free: 289.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/6.038, allocations: 14.5 kB / 3.831 GB, free: 289.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.178e-05/6.038, allocations: 324.7 kB / 3.832 GB, free: 288.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005807/6.039, allocations: 394.9 kB / 3.832 GB, free: 288.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006232/6.04, allocations: 488.3 kB / 3.832 GB, free: 288.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006637/6.04, allocations: 454.7 kB / 3.833 GB, free: 288.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/6.04, allocations: 0 / 3.833 GB, free: 288.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01097/6.051, allocations: 2.466 MB / 3.835 GB, free: 288.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/6.051, allocations: 6.875 kB / 3.835 GB, free: 288.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/6.051, allocations: 3.031 kB / 3.835 GB, free: 288.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009016/6.06, allocations: 1.547 MB / 3.837 GB, free: 288.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/6.061, allocations: 97.98 kB / 3.837 GB, free: 288.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/6.072, allocations: 6.688 MB / 3.843 GB, free: 284.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/6.073, allocations: 44.64 kB / 3.843 GB, free: 284.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/6.073, allocations: 47.56 kB / 3.843 GB, free: 284.6 MB / 1.167 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.000532/6.073, allocations: 205.5 kB / 3.844 GB, free: 284.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/6.074, allocations: 80.86 kB / 3.844 GB, free: 284.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005039/6.079, allocations: 1.674 MB / 3.845 GB, free: 283.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/6.079, allocations: 3.531 kB / 3.845 GB, free: 283.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/6.079, allocations: 3.906 kB / 3.845 GB, free: 283.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/6.079, allocations: 0 / 3.845 GB, free: 283.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005826/6.085, allocations: 2.465 MB / 3.848 GB, free: 281.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/6.085, allocations: 0 / 3.848 GB, free: 281.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/6.085, allocations: 98.12 kB / 3.848 GB, free: 281.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003156/6.088, allocations: 0.6631 MB / 3.848 GB, free: 281.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.08e-05/6.088, allocations: 19.41 kB / 3.849 GB, free: 281.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005574/6.094, allocations: 4.508 MB / 3.853 GB, free: 277.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/6.094, allocations: 1.969 kB / 3.853 GB, free: 277.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005065/6.099, allocations: 2.148 MB / 3.855 GB, free: 276.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000658/6.1, allocations: 235.3 kB / 3.855 GB, free: 276.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/6.1, allocations: 15.7 kB / 3.855 GB, free: 276.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008014/6.101, allocations: 34.75 kB / 3.855 GB, free: 276.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/6.101, allocations: 48.56 kB / 3.855 GB, free: 276.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.102e-05/6.101, allocations: 19.56 kB / 3.855 GB, free: 276.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007292/6.102, allocations: 0.4949 MB / 3.856 GB, free: 276 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.41e-07/6.102, allocations: 3.828 kB / 3.856 GB, free: 276 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001825/6.104, allocations: 454.2 kB / 3.856 GB, free: 275.9 MB / 1.167 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.007695/6.111, allocations: 4.729 MB / 3.861 GB, free: 273.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003076/6.114, allocations: 1.374 MB / 3.862 GB, free: 272.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/6.114, allocations: 0 / 3.862 GB, free: 272.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001597/6.116, allocations: 0.8835 MB / 3.863 GB, free: 271.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/6.118, allocations: 445.7 kB / 3.864 GB, free: 271.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/6.137, allocations: 8.164 MB / 3.871 GB, free: 263.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/6.137, allocations: 0.9945 MB / 3.872 GB, free: 262.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008519/6.138, allocations: 162 kB / 3.873 GB, free: 262.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000446/6.139, allocations: 275.3 kB / 3.873 GB, free: 262 MB / 1.167 GB Notification: Performance of SimCode: time 9.52e-07/6.139, allocations: 0 / 3.873 GB, free: 262 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07067/6.209, allocations: 53.57 MB / 3.925 GB, free: 209.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/6.21, allocations: 231.3 kB / 3.925 GB, free: 209.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.123/10.33, allocations: 4 kB / 3.925 GB, free: 209.6 MB / 1.167 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