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.311/2.311, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001031/0.001031, allocations: 168.9 kB / 492.3 MB, free: 0.6445 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.419/1.419, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0009332/0.0009331, allocations: 91.91 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.353e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2976, allocations: 142.4 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.013/5.31, allocations: 1.911 GB / 3.124 GB, free: 349.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/5.311, allocations: 86.28 kB / 3.124 GB, free: 349.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.961/7.272, allocations: 0.6808 GB / 3.805 GB, free: 117.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.453e-06/7.272, allocations: 0 / 3.805 GB, free: 117.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.487e-05/7.272, allocations: 20 kB / 3.805 GB, free: 117.4 MB / 1.151 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.002838/7.275, allocations: 1.073 MB / 3.806 GB, free: 116.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/7.275, allocations: 8.25 kB / 3.806 GB, free: 116.2 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002229/7.275, allocations: 90.52 kB / 3.806 GB, free: 116.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/7.277, allocations: 234.7 kB / 3.806 GB, free: 115.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/7.278, allocations: 0.6012 MB / 3.807 GB, free: 115.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/7.278, allocations: 45.3 kB / 3.807 GB, free: 115.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/7.278, allocations: 55.91 kB / 3.807 GB, free: 115.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/7.279, allocations: 0.9934 MB / 3.808 GB, free: 114.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/7.279, allocations: 4 kB / 3.808 GB, free: 114.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.837e-05/7.28, allocations: 27.94 kB / 3.808 GB, free: 114.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/7.28, allocations: 12 kB / 3.808 GB, free: 114 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/7.281, allocations: 0.9291 MB / 3.809 GB, free: 113.1 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.004458/7.285, allocations: 4.449 MB / 3.813 GB, free: 108.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007485/7.286, allocations: 0.5824 MB / 3.814 GB, free: 107.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005963/7.287, allocations: 0.502 MB / 3.814 GB, free: 107.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007888/7.287, allocations: 0.8822 MB / 3.815 GB, free: 106.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/7.287, allocations: 35 kB / 3.815 GB, free: 106.3 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002154/7.29, allocations: 0.5654 MB / 3.816 GB, free: 105.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=50): time 5.491e-06/7.29, allocations: 0 / 3.816 GB, free: 105.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=50): time 0.01049/7.3, allocations: 2.377 MB / 3.818 GB, free: 103.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/7.3, allocations: 59.84 kB / 3.818 GB, free: 103.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008361/7.301, allocations: 0.621 MB / 3.819 GB, free: 102.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/7.301, allocations: 37.7 kB / 3.819 GB, free: 102.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/7.301, allocations: 320.7 kB / 3.819 GB, free: 102.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/7.302, allocations: 169.4 kB / 3.819 GB, free: 102.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/7.302, allocations: 12 kB / 3.819 GB, free: 102.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.515e-05/7.302, allocations: 326 kB / 3.819 GB, free: 101.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005012/7.302, allocations: 369 kB / 3.82 GB, free: 101.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005322/7.303, allocations: 467.3 kB / 3.82 GB, free: 100.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005829/7.303, allocations: 429.4 kB / 3.821 GB, free: 100.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/7.303, allocations: 0 / 3.821 GB, free: 100.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0103/7.314, allocations: 2.423 MB / 3.823 GB, free: 98.04 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/7.314, allocations: 8 kB / 3.823 GB, free: 98.03 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/7.314, allocations: 3.953 kB / 3.823 GB, free: 98.02 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00864/7.322, allocations: 1.542 MB / 3.824 GB, free: 96.47 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/7.323, allocations: 95.86 kB / 3.825 GB, free: 96.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/7.333, allocations: 6.51 MB / 3.831 GB, free: 89.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/7.334, allocations: 39.92 kB / 3.831 GB, free: 89.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/7.334, allocations: 43.94 kB / 3.831 GB, free: 89.51 MB / 1.151 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 () * 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.0002004/7.334, allocations: 144.9 kB / 3.831 GB, free: 89.36 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/7.335, allocations: 83.02 kB / 3.831 GB, free: 89.28 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004601/7.339, allocations: 1.613 MB / 3.833 GB, free: 87.64 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/7.339, allocations: 11.95 kB / 3.833 GB, free: 87.63 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/7.339, allocations: 0 / 3.833 GB, free: 87.63 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/7.339, allocations: 7.984 kB / 3.833 GB, free: 87.62 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005366/7.345, allocations: 2.415 MB / 3.835 GB, free: 85.13 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/7.345, allocations: 0 / 3.835 GB, free: 85.13 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000424/7.345, allocations: 95.88 kB / 3.835 GB, free: 85.04 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003006/7.348, allocations: 0.6537 MB / 3.836 GB, free: 84.38 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/7.348, allocations: 16 kB / 3.836 GB, free: 84.36 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005284/7.354, allocations: 4.397 MB / 3.84 GB, free: 79.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/7.354, allocations: 7.938 kB / 3.84 GB, free: 79.69 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004375/7.358, allocations: 2.083 MB / 3.842 GB, free: 77.52 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005201/7.359, allocations: 228.1 kB / 3.842 GB, free: 77.28 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/7.359, allocations: 19.94 kB / 3.842 GB, free: 77.26 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007186/7.359, allocations: 39.81 kB / 3.843 GB, free: 77.22 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/7.36, allocations: 56.64 kB / 3.843 GB, free: 77.16 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.567e-05/7.36, allocations: 20 kB / 3.843 GB, free: 77.14 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005899/7.36, allocations: 499.1 kB / 3.843 GB, free: 76.66 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/7.36, allocations: 0 / 3.843 GB, free: 76.66 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001597/7.362, allocations: 448 kB / 3.843 GB, free: 76.23 MB / 1.151 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 () * 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.006834/7.369, allocations: 4.642 MB / 3.848 GB, free: 71.45 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002745/7.371, allocations: 1.328 MB / 3.849 GB, free: 70.09 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/7.371, allocations: 0 / 3.849 GB, free: 70.09 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/7.373, allocations: 0.852 MB / 3.85 GB, free: 69.21 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/7.375, allocations: 436.8 kB / 3.851 GB, free: 68.79 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/7.378, allocations: 1.536 MB / 3.852 GB, free: 67.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/7.378, allocations: 0.9944 MB / 3.853 GB, free: 66.18 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006749/7.379, allocations: 166.6 kB / 3.853 GB, free: 66.01 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000355/7.379, allocations: 279.3 kB / 3.853 GB, free: 65.73 MB / 1.151 GB Notification: Performance of SimCode: time 4.91e-07/7.379, allocations: 0 / 3.853 GB, free: 65.73 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07778/7.457, allocations: 57.97 MB / 3.91 GB, free: 8.031 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/7.457, allocations: 205.8 kB / 3.91 GB, free: 7.805 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.839/11.3, allocations: 0 / 3.91 GB, free: 7.805 MB / 1.151 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