Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8459/0.8459, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001148, allocations: 189.6 kB / 187.3 MB, free: 11.87 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.3 MB / 441.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009756/0.0009754, allocations: 89.84 kB / 0.5124 GB, free: 24.26 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001833/0.001833, allocations: 278.8 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.962e-05/4.008e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4072, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.146/4.553, allocations: 1.88 GB / 2.645 GB, free: 180.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/4.554, allocations: 92.36 kB / 2.645 GB, free: 180.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.75/6.303, allocations: 473.9 MB / 3.108 GB, free: 153.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.354e-06/6.303, allocations: 3.391 kB / 3.108 GB, free: 153.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001038/6.303, allocations: 26.22 kB / 3.108 GB, free: 153.7 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00272/6.306, allocations: 1.146 MB / 3.109 GB, free: 153.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/6.306, allocations: 7.75 kB / 3.109 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002677/6.306, allocations: 113 kB / 3.109 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002358/6.309, allocations: 311.3 kB / 3.109 GB, free: 153.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/6.311, allocations: 0.7482 MB / 3.11 GB, free: 152.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.765e-05/6.311, allocations: 59.83 kB / 3.11 GB, free: 152.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/6.311, allocations: 73.14 kB / 3.11 GB, free: 152.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/6.312, allocations: 0.7345 MB / 3.111 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/6.312, allocations: 6.594 kB / 3.111 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.708e-05/6.312, allocations: 28.12 kB / 3.111 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/6.312, allocations: 22.78 kB / 3.111 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/6.313, allocations: 0.5653 MB / 3.111 GB, free: 152.8 MB / 0.698 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.003746/6.317, allocations: 3.37 MB / 3.115 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005518/6.318, allocations: 438.5 kB / 3.115 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/6.318, allocations: 255 kB / 3.115 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004782/6.318, allocations: 0.6774 MB / 3.116 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/6.318, allocations: 44.66 kB / 3.116 GB, free: 150.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=51): time 2.595e-06/6.318, allocations: 0 / 3.116 GB, free: 150.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=51): time 0.001053/6.32, allocations: 0.5184 MB / 3.117 GB, free: 150 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/6.32, allocations: 61.95 kB / 3.117 GB, free: 149.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005205/6.32, allocations: 0.5017 MB / 3.117 GB, free: 149.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/6.32, allocations: 40.36 kB / 3.117 GB, free: 149.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/6.32, allocations: 383.6 kB / 3.118 GB, free: 149.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/6.32, allocations: 187.9 kB / 3.118 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/6.321, allocations: 10.25 kB / 3.118 GB, free: 149.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.438e-05/6.321, allocations: 378.6 kB / 3.118 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/6.321, allocations: 184 kB / 3.118 GB, free: 149.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/6.321, allocations: 264.1 kB / 3.119 GB, free: 149.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/6.321, allocations: 238.5 kB / 3.119 GB, free: 149.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/6.322, allocations: 3.938 kB / 3.119 GB, free: 149.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000743/6.322, allocations: 0.5615 MB / 3.119 GB, free: 149.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/6.322, allocations: 5.156 kB / 3.119 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/6.322, allocations: 7.156 kB / 3.119 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/6.322, allocations: 7.25 kB / 3.119 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/6.323, allocations: 110.4 kB / 3.119 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/6.323, allocations: 7.484 kB / 3.119 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008057/6.324, allocations: 76 kB / 3.119 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/6.324, allocations: 21.34 kB / 3.12 GB, free: 149.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/6.324, allocations: 138.7 kB / 3.12 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/6.324, allocations: 71.72 kB / 3.12 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000834/6.325, allocations: 0.5433 MB / 3.12 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/6.325, allocations: 3.594 kB / 3.12 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/6.325, allocations: 0.8906 kB / 3.12 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006302/6.325, allocations: 0.7595 MB / 3.121 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/6.327, allocations: 1.484 MB / 3.122 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/6.327, allocations: 0 / 3.122 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000669/6.328, allocations: 149.8 kB / 3.123 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/6.328, allocations: 3.875 kB / 3.123 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/6.328, allocations: 13.02 kB / 3.123 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/6.328, allocations: 7.719 kB / 3.123 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/6.328, allocations: 0 / 3.123 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/6.329, allocations: 0.9482 MB / 3.124 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003282/6.33, allocations: 221.1 kB / 3.124 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/6.33, allocations: 10.62 kB / 3.124 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000683/6.33, allocations: 57.78 kB / 3.124 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.453e-05/6.331, allocations: 41.41 kB / 3.124 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.906e-05/6.331, allocations: 14.75 kB / 3.124 GB, free: 147.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004409/6.331, allocations: 418.1 kB / 3.124 GB, free: 147.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/6.331, allocations: 0 / 3.124 GB, free: 147.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001201/6.332, allocations: 384 kB / 3.125 GB, free: 147.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],cra.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003118/6.335, allocations: 2.826 MB / 3.127 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007228/6.336, allocations: 463.8 kB / 3.128 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/6.336, allocations: 0 / 3.128 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003188/6.336, allocations: 253.3 kB / 3.128 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/6.339, allocations: 462.5 kB / 3.129 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/6.342, allocations: 1.662 MB / 3.13 GB, free: 145.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005476/6.342, allocations: 1.044 MB / 3.131 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008123/6.343, allocations: 180.3 kB / 3.131 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004213/6.344, allocations: 301.8 kB / 3.132 GB, free: 145.2 MB / 0.698 GB Notification: Performance of SimCode: time 8.22e-07/6.344, allocations: 0 / 3.132 GB, free: 145.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07022/6.414, allocations: 43.27 MB / 3.174 GB, free: 143.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/6.414, allocations: 215 kB / 3.174 GB, free: 143.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.395/9.809, allocations: 0 / 3.174 GB, free: 143.5 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)