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.371/2.371, allocations: 387.4 MB / 394.9 MB, free: 13.3 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.001221/0.001221, allocations: 188.8 kB / 487.4 MB, free: 4.98 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.436/1.436, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 103.8 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.533e-05/2.553e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2825, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.322/5.604, allocations: 1.911 GB / 3.117 GB, free: 354.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/5.605, allocations: 92.73 kB / 3.117 GB, free: 354.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.146/7.751, allocations: 0.6733 GB / 3.79 GB, free: 150.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.806e-06/7.751, allocations: 0 / 3.79 GB, free: 150.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001473/7.751, allocations: 16 kB / 3.79 GB, free: 150.2 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.004218/7.755, allocations: 1.079 MB / 3.791 GB, free: 149.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/7.755, allocations: 8.031 kB / 3.791 GB, free: 149.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/7.758, allocations: 226.8 kB / 3.791 GB, free: 148.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/7.759, allocations: 0.5972 MB / 3.792 GB, free: 148.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/7.759, allocations: 20 kB / 3.792 GB, free: 148.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002345/7.76, allocations: 39.89 kB / 3.792 GB, free: 148.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001443/7.761, allocations: 0.8656 MB / 3.793 GB, free: 147.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/7.763, allocations: 0.9294 MB / 3.794 GB, free: 146.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/7.763, allocations: 7.891 kB / 3.794 GB, free: 146.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.075e-05/7.763, allocations: 4 kB / 3.794 GB, free: 146.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/7.763, allocations: 16 kB / 3.794 GB, free: 146.3 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.005676/7.768, allocations: 4.3 MB / 3.798 GB, free: 141.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008058/7.769, allocations: 0.5594 MB / 3.799 GB, free: 141.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005999/7.77, allocations: 0.4941 MB / 3.799 GB, free: 140.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009353/7.771, allocations: 0.8861 MB / 3.8 GB, free: 139.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/7.771, allocations: 35 kB / 3.8 GB, free: 139.6 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002368/7.773, allocations: 0.5383 MB / 3.801 GB, free: 139.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=50): time 9.097e-06/7.773, allocations: 0 / 3.801 GB, free: 139.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=50): time 0.01095/7.784, allocations: 2.365 MB / 3.803 GB, free: 136.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/7.784, allocations: 55.84 kB / 3.803 GB, free: 136.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007617/7.785, allocations: 467.4 kB / 3.803 GB, free: 136.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/7.785, allocations: 25.7 kB / 3.803 GB, free: 136.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/7.785, allocations: 328.6 kB / 3.804 GB, free: 135.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/7.786, allocations: 169.5 kB / 3.804 GB, free: 135.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/7.786, allocations: 0 / 3.804 GB, free: 135.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001183/7.786, allocations: 378.7 kB / 3.804 GB, free: 135.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/7.786, allocations: 353 kB / 3.805 GB, free: 134.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/7.787, allocations: 458.2 kB / 3.805 GB, free: 134.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007235/7.788, allocations: 436.5 kB / 3.805 GB, free: 134 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/7.788, allocations: 0 / 3.805 GB, free: 134 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01056/7.798, allocations: 2.396 MB / 3.808 GB, free: 131.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/7.798, allocations: 4 kB / 3.808 GB, free: 131.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/7.798, allocations: 4 kB / 3.808 GB, free: 131.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008832/7.807, allocations: 1.535 MB / 3.809 GB, free: 130 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005116/7.808, allocations: 95.86 kB / 3.809 GB, free: 129.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/7.818, allocations: 6.252 MB / 3.815 GB, free: 123.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/7.819, allocations: 27.94 kB / 3.815 GB, free: 123.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/7.82, allocations: 51.95 kB / 3.816 GB, free: 123.4 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.0002934/7.82, allocations: 112.9 kB / 3.816 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01059/7.83, allocations: 2.342 MB / 3.818 GB, free: 120.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004371/7.831, allocations: 71.16 kB / 3.818 GB, free: 120.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005031/7.836, allocations: 1.576 MB / 3.82 GB, free: 119.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/7.836, allocations: 8 kB / 3.82 GB, free: 119.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/7.836, allocations: 4 kB / 3.82 GB, free: 119.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/7.836, allocations: 7.969 kB / 3.82 GB, free: 119.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005978/7.842, allocations: 2.318 MB / 3.822 GB, free: 116.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/7.842, allocations: 0 / 3.822 GB, free: 116.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004666/7.843, allocations: 91.89 kB / 3.822 GB, free: 116.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002966/7.846, allocations: 0.6534 MB / 3.823 GB, free: 116.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.056e-05/7.846, allocations: 7.984 kB / 3.823 GB, free: 116.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005294/7.851, allocations: 4.308 MB / 3.827 GB, free: 111.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/7.851, allocations: 0 / 3.827 GB, free: 111.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004676/7.856, allocations: 2.048 MB / 3.829 GB, free: 109.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004874/7.856, allocations: 212.1 kB / 3.829 GB, free: 109.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/7.856, allocations: 11.94 kB / 3.829 GB, free: 109.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007946/7.857, allocations: 23.89 kB / 3.829 GB, free: 109.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/7.857, allocations: 56.48 kB / 3.829 GB, free: 109.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/7.857, allocations: 16 kB / 3.829 GB, free: 109.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004803/7.858, allocations: 359.2 kB / 3.829 GB, free: 108.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.51e-07/7.858, allocations: 0 / 3.829 GB, free: 108.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001753/7.86, allocations: 407.5 kB / 3.83 GB, free: 108.3 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.007434/7.867, allocations: 4.812 MB / 3.834 GB, free: 103.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002841/7.87, allocations: 1.269 MB / 3.836 GB, free: 102.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/7.87, allocations: 0 / 3.836 GB, free: 102.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001574/7.872, allocations: 0.8297 MB / 3.837 GB, free: 101.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/7.874, allocations: 306.6 kB / 3.837 GB, free: 100.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/7.877, allocations: 1.45 MB / 3.838 GB, free: 99.42 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/7.877, allocations: 0.9977 MB / 3.839 GB, free: 98.39 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007043/7.878, allocations: 141.3 kB / 3.839 GB, free: 98.25 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003863/7.879, allocations: 263.3 kB / 3.84 GB, free: 98 MB / 1.151 GB Notification: Performance of SimCode: time 3.71e-07/7.879, allocations: 7.875 kB / 3.84 GB, free: 97.99 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06887/7.948, allocations: 36.22 MB / 3.875 GB, free: 61.93 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/7.948, allocations: 159.4 kB / 3.875 GB, free: 61.73 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.247/11.19, allocations: 4.031 kB / 3.875 GB, free: 61.73 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