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.259/2.259, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001321/0.001321, allocations: 184.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.001057/0.001057, allocations: 95.89 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.524e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3274, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.95/5.277, allocations: 1.912 GB / 3.131 GB, free: 346.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/5.277, allocations: 88.83 kB / 3.131 GB, free: 346.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.933/7.211, allocations: 0.6808 GB / 3.812 GB, free: 114.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.463e-06/7.211, allocations: 0 / 3.812 GB, free: 114.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.554e-05/7.211, allocations: 20 kB / 3.812 GB, free: 114.1 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.002257/7.213, allocations: 1.068 MB / 3.813 GB, free: 113 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/7.213, allocations: 8.031 kB / 3.813 GB, free: 113 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/7.213, allocations: 94.73 kB / 3.813 GB, free: 112.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/7.215, allocations: 234.8 kB / 3.813 GB, free: 112.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/7.216, allocations: 0.5972 MB / 3.814 GB, free: 112 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/7.216, allocations: 41.31 kB / 3.814 GB, free: 112 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/7.216, allocations: 63.86 kB / 3.814 GB, free: 111.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/7.217, allocations: 0.9827 MB / 3.815 GB, free: 110.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/7.217, allocations: 7.938 kB / 3.815 GB, free: 110.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.486e-05/7.217, allocations: 24 kB / 3.815 GB, free: 110.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/7.217, allocations: 12 kB / 3.815 GB, free: 110.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/7.218, allocations: 0.9291 MB / 3.816 GB, free: 109.9 MB / 1.167 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.004229/7.223, allocations: 4.457 MB / 3.82 GB, free: 105.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007017/7.223, allocations: 0.5713 MB / 3.821 GB, free: 104.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005677/7.224, allocations: 0.5137 MB / 3.821 GB, free: 104.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007778/7.225, allocations: 0.8783 MB / 3.822 GB, free: 103.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/7.225, allocations: 35 kB / 3.822 GB, free: 103 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002216/7.227, allocations: 0.5653 MB / 3.823 GB, free: 102.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=50): time 2.875e-06/7.227, allocations: 4 kB / 3.823 GB, free: 102.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=50): time 0.01036/7.237, allocations: 2.381 MB / 3.825 GB, free: 100.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/7.237, allocations: 59.84 kB / 3.825 GB, free: 99.99 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007685/7.238, allocations: 0.6095 MB / 3.826 GB, free: 99.38 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/7.238, allocations: 37.7 kB / 3.826 GB, free: 99.33 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/7.238, allocations: 324.6 kB / 3.826 GB, free: 99.01 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/7.239, allocations: 173.4 kB / 3.826 GB, free: 98.84 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/7.239, allocations: 12 kB / 3.826 GB, free: 98.82 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.404e-05/7.239, allocations: 329.9 kB / 3.827 GB, free: 98.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/7.239, allocations: 365 kB / 3.827 GB, free: 98.14 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/7.24, allocations: 475.3 kB / 3.827 GB, free: 97.64 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005266/7.24, allocations: 421.4 kB / 3.828 GB, free: 97.23 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/7.24, allocations: 0 / 3.828 GB, free: 97.23 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0103/7.25, allocations: 2.42 MB / 3.83 GB, free: 94.79 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/7.251, allocations: 12 kB / 3.83 GB, free: 94.78 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/7.251, allocations: 0 / 3.83 GB, free: 94.78 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008658/7.259, allocations: 1.546 MB / 3.832 GB, free: 93.23 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/7.26, allocations: 95.86 kB / 3.832 GB, free: 93.13 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009902/7.27, allocations: 6.506 MB / 3.838 GB, free: 86.35 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/7.271, allocations: 43.86 kB / 3.838 GB, free: 86.31 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.564e-05/7.271, allocations: 47.94 kB / 3.838 GB, free: 86.26 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 () * 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.0001812/7.271, allocations: 142 kB / 3.838 GB, free: 86.12 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/7.271, allocations: 83.06 kB / 3.838 GB, free: 86.04 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/7.276, allocations: 1.621 MB / 3.84 GB, free: 84.39 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/7.276, allocations: 8 kB / 3.84 GB, free: 84.39 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/7.276, allocations: 0 / 3.84 GB, free: 84.39 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/7.276, allocations: 7.984 kB / 3.84 GB, free: 84.38 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005027/7.281, allocations: 2.411 MB / 3.842 GB, free: 81.89 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/7.281, allocations: 0 / 3.842 GB, free: 81.89 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/7.281, allocations: 95.81 kB / 3.842 GB, free: 81.79 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002986/7.284, allocations: 0.6573 MB / 3.843 GB, free: 81.13 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.579e-05/7.284, allocations: 20 kB / 3.843 GB, free: 81.11 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005167/7.289, allocations: 4.405 MB / 3.847 GB, free: 76.44 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/7.29, allocations: 4 kB / 3.847 GB, free: 76.43 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004487/7.294, allocations: 2.075 MB / 3.849 GB, free: 74.28 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005548/7.295, allocations: 231.9 kB / 3.85 GB, free: 74.03 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/7.295, allocations: 23.89 kB / 3.85 GB, free: 74.01 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006113/7.295, allocations: 35.88 kB / 3.85 GB, free: 73.97 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/7.296, allocations: 48.58 kB / 3.85 GB, free: 73.93 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/7.296, allocations: 23.94 kB / 3.85 GB, free: 73.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005498/7.296, allocations: 499.1 kB / 3.85 GB, free: 73.42 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/7.296, allocations: 0 / 3.85 GB, free: 73.42 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001524/7.298, allocations: 447.9 kB / 3.851 GB, free: 72.98 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 () * 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.00683/7.304, allocations: 4.645 MB / 3.855 GB, free: 68.19 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002743/7.307, allocations: 1.32 MB / 3.856 GB, free: 66.84 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/7.307, allocations: 4 kB / 3.856 GB, free: 66.84 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001546/7.309, allocations: 0.8521 MB / 3.857 GB, free: 65.96 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/7.311, allocations: 436.9 kB / 3.858 GB, free: 65.54 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/7.314, allocations: 1.524 MB / 3.859 GB, free: 63.96 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/7.314, allocations: 1.006 MB / 3.86 GB, free: 62.92 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006238/7.315, allocations: 158.6 kB / 3.86 GB, free: 62.76 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/7.315, allocations: 279.3 kB / 3.861 GB, free: 62.49 MB / 1.167 GB Notification: Performance of SimCode: time 8.91e-07/7.315, allocations: 0 / 3.861 GB, free: 62.49 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08239/7.397, allocations: 57.99 MB / 3.917 GB, free: 4.797 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/7.398, allocations: 203.1 kB / 3.917 GB, free: 4.578 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.991/11.39, allocations: 4 kB / 3.917 GB, free: 4.574 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