Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000972/0.0009719, allocations: 182 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4709/0.4709, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 223.2 MB / 354.3 MB, free: 12.05 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000942/0.000942, allocations: 91.22 kB / 427.3 MB, free: 3.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003466, allocations: 8 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1861, allocations: 72.3 MB / 0.5689 GB, free: 1.848 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.69/6.876, allocations: 1.874 GB / 2.443 GB, free: 173.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/6.876, allocations: 89.72 kB / 2.443 GB, free: 173.4 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 2.241/9.117, allocations: 0.6687 GB / 3.112 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.837e-06/9.118, allocations: 0 / 3.112 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001043/9.118, allocations: 20 kB / 3.112 GB, free: 3.887 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.005946/9.124, allocations: 1.496 MB / 3.113 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/9.124, allocations: 12.03 kB / 3.113 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003764/9.124, allocations: 114.5 kB / 3.113 GB, free: 2.203 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009473/9.125, allocations: 146.8 kB / 3.113 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/9.127, allocations: 0.5667 MB / 3.114 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.626e-05/9.127, allocations: 57.98 kB / 3.114 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/9.127, allocations: 76 kB / 3.114 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/9.128, allocations: 0.8283 MB / 3.115 GB, free: 480 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/9.128, allocations: 0 / 3.115 GB, free: 480 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.415e-05/9.128, allocations: 32 kB / 3.115 GB, free: 448 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.138e-05/9.129, allocations: 41.98 kB / 3.115 GB, free: 404 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4243/9.553, allocations: 0.7197 MB / 3.116 GB, free: 90.52 MB / 0.6198 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.006504/9.559, allocations: 4.594 MB / 3.12 GB, free: 87.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/9.561, allocations: 469 kB / 3.121 GB, free: 87.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005677/9.561, allocations: 0.7607 MB / 3.121 GB, free: 86.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/9.561, allocations: 37.14 kB / 3.121 GB, free: 86.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 3.677e-06/9.561, allocations: 0 / 3.121 GB, free: 86.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.00153/9.563, allocations: 0.6079 MB / 3.122 GB, free: 86.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/9.563, allocations: 55.66 kB / 3.122 GB, free: 86.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/9.564, allocations: 0.7859 MB / 3.123 GB, free: 86.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.772e-05/9.564, allocations: 38.78 kB / 3.123 GB, free: 86.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/9.565, allocations: 389.6 kB / 3.123 GB, free: 85.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/9.565, allocations: 141.5 kB / 3.123 GB, free: 85.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/9.565, allocations: 8.469 kB / 3.123 GB, free: 85.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.216e-05/9.565, allocations: 323.5 kB / 3.124 GB, free: 85.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004348/9.565, allocations: 185.6 kB / 3.124 GB, free: 85.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/9.566, allocations: 289.7 kB / 3.124 GB, free: 85.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/9.566, allocations: 224.4 kB / 3.124 GB, free: 85.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/9.566, allocations: 1.188 kB / 3.124 GB, free: 85.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001152/9.568, allocations: 0.5983 MB / 3.125 GB, free: 85.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/9.568, allocations: 7.688 kB / 3.125 GB, free: 85.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/9.568, allocations: 1.375 kB / 3.125 GB, free: 85.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/9.568, allocations: 5.125 kB / 3.125 GB, free: 85.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005297/9.568, allocations: 105.6 kB / 3.125 GB, free: 85.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/9.568, allocations: 4.344 kB / 3.125 GB, free: 85.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008915/9.569, allocations: 107.2 kB / 3.125 GB, free: 85.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/9.569, allocations: 21.88 kB / 3.125 GB, free: 85.42 MB / 0.6198 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 (57): * Single equations (assignments): 57 * 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.0003727/9.57, allocations: 244.3 kB / 3.125 GB, free: 85.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/9.57, allocations: 86.05 kB / 3.125 GB, free: 85.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/9.571, allocations: 0.5596 MB / 3.126 GB, free: 85.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/9.571, allocations: 4.844 kB / 3.126 GB, free: 85.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/9.571, allocations: 0 / 3.126 GB, free: 85.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/9.571, allocations: 3.406 kB / 3.126 GB, free: 85.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0037/9.575, allocations: 2.076 MB / 3.128 GB, free: 84.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/9.575, allocations: 8.125 kB / 3.128 GB, free: 84.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004391/9.575, allocations: 92.95 kB / 3.128 GB, free: 84.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-05/9.575, allocations: 13.56 kB / 3.128 GB, free: 84.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/9.575, allocations: 16.06 kB / 3.128 GB, free: 84.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-05/9.575, allocations: 11.25 kB / 3.128 GB, free: 84.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.471e-05/9.575, allocations: 13.41 kB / 3.128 GB, free: 84.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/9.577, allocations: 1.297 MB / 3.129 GB, free: 83.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/9.577, allocations: 224.6 kB / 3.13 GB, free: 83.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/9.577, allocations: 17.94 kB / 3.13 GB, free: 83.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006288/9.578, allocations: 53.95 kB / 3.13 GB, free: 83.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/9.578, allocations: 51.33 kB / 3.13 GB, free: 83.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/9.578, allocations: 21.64 kB / 3.13 GB, free: 83.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009185/9.579, allocations: 0.6281 MB / 3.13 GB, free: 83.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/9.579, allocations: 1.5 kB / 3.13 GB, free: 83.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00182/9.581, allocations: 443 kB / 3.131 GB, free: 83.41 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.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 (48): * Single equations (assignments): 48 * 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.005229/9.586, allocations: 5.569 MB / 3.136 GB, free: 79.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001008/9.587, allocations: 454.4 kB / 3.137 GB, free: 79.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/9.587, allocations: 3.109 kB / 3.137 GB, free: 79.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004006/9.588, allocations: 238 kB / 3.137 GB, free: 79.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/9.59, allocations: 484.2 kB / 3.137 GB, free: 79.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00781/9.598, allocations: 6.056 MB / 3.143 GB, free: 76.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006497/9.598, allocations: 1.022 MB / 3.144 GB, free: 76.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009869/9.599, allocations: 182.2 kB / 3.144 GB, free: 76.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004517/9.6, allocations: 298.1 kB / 3.145 GB, free: 76.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.067e-05/9.6, allocations: 0 / 3.145 GB, free: 76.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08895/9.689, allocations: 53.65 MB / 3.197 GB, free: 75.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/9.689, allocations: 227.7 kB / 3.197 GB, free: 74.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.689/13.38, allocations: 0 / 3.197 GB, free: 74.8 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Validation_DoorOpenClosed.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)