Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.3/2.3, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001658/0.001658, allocations: 194 kB / 0.4902 GB, free: 2.238 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.767/1.767, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.001215/0.001215, allocations: 100.3 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003827, allocations: 14.22 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3346, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.031/5.366, allocations: 1.912 GB / 3.141 GB, free: 40.75 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/5.366, allocations: 94.7 kB / 3.142 GB, free: 40.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.82/8.186, allocations: 0.6813 GB / 3.823 GB, free: 267.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.827e-06/8.186, allocations: 11.61 kB / 3.823 GB, free: 267.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001125/8.186, allocations: 16 kB / 3.823 GB, free: 267.4 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.004281/8.191, allocations: 1.243 MB / 3.824 GB, free: 266.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/8.191, allocations: 8.828 kB / 3.824 GB, free: 266.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003537/8.191, allocations: 94.52 kB / 3.824 GB, free: 266.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/8.193, allocations: 233.4 kB / 3.824 GB, free: 265.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/8.195, allocations: 0.6064 MB / 3.825 GB, free: 265.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.149e-05/8.195, allocations: 37.31 kB / 3.825 GB, free: 265.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002249/8.195, allocations: 55.98 kB / 3.825 GB, free: 265.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/8.197, allocations: 1.012 MB / 3.826 GB, free: 264.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.826e-05/8.197, allocations: 3.25 kB / 3.826 GB, free: 264.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/8.197, allocations: 24 kB / 3.826 GB, free: 264.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/8.197, allocations: 12 kB / 3.826 GB, free: 264 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/8.199, allocations: 0.9899 MB / 3.827 GB, free: 263.1 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.006102/8.205, allocations: 4.464 MB / 3.832 GB, free: 258.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009438/8.206, allocations: 0.5934 MB / 3.832 GB, free: 257.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009171/8.207, allocations: 0.8798 MB / 3.833 GB, free: 256.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/8.207, allocations: 38.94 kB / 3.833 GB, free: 256.8 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002541/8.21, allocations: 0.5674 MB / 3.834 GB, free: 256.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=50): time 1.108e-05/8.21, allocations: 0 / 3.834 GB, free: 256.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=50): time 0.01784/8.228, allocations: 3.676 MB / 3.837 GB, free: 252.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/8.228, allocations: 62.91 kB / 3.837 GB, free: 252.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/8.229, allocations: 0.6166 MB / 3.838 GB, free: 251.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000243/8.229, allocations: 33.7 kB / 3.838 GB, free: 251.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/8.229, allocations: 328.6 kB / 3.838 GB, free: 251.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/8.23, allocations: 173.4 kB / 3.838 GB, free: 251.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.62e-05/8.23, allocations: 8 kB / 3.838 GB, free: 251.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.057e-05/8.23, allocations: 332.6 kB / 3.839 GB, free: 251 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006739/8.23, allocations: 396.8 kB / 3.839 GB, free: 250.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007351/8.231, allocations: 491.5 kB / 3.839 GB, free: 250.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007078/8.232, allocations: 442.7 kB / 3.84 GB, free: 249.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/8.232, allocations: 1.438 kB / 3.84 GB, free: 249.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01126/8.243, allocations: 2.471 MB / 3.842 GB, free: 247.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/8.243, allocations: 8 kB / 3.842 GB, free: 247.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/8.243, allocations: 1.688 kB / 3.842 GB, free: 247.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009294/8.253, allocations: 1.551 MB / 3.844 GB, free: 245.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005371/8.253, allocations: 91.88 kB / 3.844 GB, free: 245.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/8.264, allocations: 6.699 MB / 3.85 GB, free: 238.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/8.266, allocations: 35.73 kB / 3.851 GB, free: 238.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002633/8.266, allocations: 48.25 kB / 3.851 GB, free: 238.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.0006356/8.267, allocations: 217.7 kB / 3.851 GB, free: 238.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/8.267, allocations: 82.91 kB / 3.851 GB, free: 238.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005067/8.272, allocations: 1.671 MB / 3.852 GB, free: 236.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/8.272, allocations: 7.984 kB / 3.852 GB, free: 236.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/8.272, allocations: 4 kB / 3.852 GB, free: 236.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/8.272, allocations: 0 / 3.852 GB, free: 236.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005994/8.278, allocations: 2.454 MB / 3.855 GB, free: 234 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/8.278, allocations: 4 kB / 3.855 GB, free: 234 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/8.279, allocations: 96.28 kB / 3.855 GB, free: 233.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003116/8.282, allocations: 0.6533 MB / 3.856 GB, free: 233.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.954e-05/8.282, allocations: 19.94 kB / 3.856 GB, free: 233.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005664/8.287, allocations: 4.514 MB / 3.86 GB, free: 228.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/8.288, allocations: 4 kB / 3.86 GB, free: 228.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005119/8.293, allocations: 2.146 MB / 3.862 GB, free: 226.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006567/8.293, allocations: 243.9 kB / 3.862 GB, free: 226 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000277/8.294, allocations: 12 kB / 3.862 GB, free: 226 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008186/8.294, allocations: 31.97 kB / 3.862 GB, free: 225.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/8.295, allocations: 48.5 kB / 3.862 GB, free: 225.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.588e-05/8.295, allocations: 20 kB / 3.862 GB, free: 225.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007041/8.295, allocations: 0.4951 MB / 3.863 GB, free: 225.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.41e-07/8.295, allocations: 0 / 3.863 GB, free: 225.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001951/8.297, allocations: 455.8 kB / 3.863 GB, free: 224.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.007761/8.305, allocations: 4.718 MB / 3.868 GB, free: 220.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003241/8.309, allocations: 1.375 MB / 3.869 GB, free: 218.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/8.309, allocations: 0 / 3.869 GB, free: 218.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001638/8.31, allocations: 0.8876 MB / 3.87 GB, free: 217.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/8.313, allocations: 446 kB / 3.871 GB, free: 217.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/8.332, allocations: 8.158 MB / 3.879 GB, free: 209.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007314/8.333, allocations: 0.9984 MB / 3.88 GB, free: 208.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009887/8.334, allocations: 158.3 kB / 3.88 GB, free: 208 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004791/8.334, allocations: 283.3 kB / 3.88 GB, free: 207.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.172e-06/8.334, allocations: 4 kB / 3.88 GB, free: 207.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07344/8.408, allocations: 53.59 MB / 3.932 GB, free: 154.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001438/8.408, allocations: 238.9 kB / 3.933 GB, free: 154.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.912/12.32, allocations: 0 / 3.933 GB, free: 154.4 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat does not exist to compare? outputFormat=mat