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.001011/0.001011, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5033/0.5033, allocations: 90.92 MB / 99.35 MB, free: 2.227 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 221.5 MB / 343.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 103.2 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.329e-05, allocations: 4 kB / 494.6 MB, free: 52.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1749, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.883/5.058, allocations: 1.873 GB / 2.427 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/5.058, allocations: 79.95 kB / 2.427 GB, free: 60.22 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.395/7.454, allocations: 0.6597 GB / 3.087 GB, free: 88.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/7.454, allocations: 0 / 3.087 GB, free: 88.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.644e-05/7.454, allocations: 18.12 kB / 3.087 GB, free: 88.78 MB / 0.6042 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.003962/7.458, allocations: 1.35 MB / 3.088 GB, free: 87.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/7.458, allocations: 13.61 kB / 3.088 GB, free: 87.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006726/7.459, allocations: 151.1 kB / 3.088 GB, free: 87.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00095/7.46, allocations: 0.5583 MB / 3.089 GB, free: 87.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/7.46, allocations: 25.81 kB / 3.089 GB, free: 87.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.323e-05/7.46, allocations: 49.28 kB / 3.089 GB, free: 87.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008822/7.461, allocations: 0.5595 MB / 3.089 GB, free: 87.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/7.462, allocations: 0.7071 MB / 3.09 GB, free: 86.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/7.462, allocations: 0 / 3.09 GB, free: 86.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.299e-05/7.462, allocations: 0 / 3.09 GB, free: 86.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.282e-05/7.462, allocations: 44.98 kB / 3.09 GB, free: 86.68 MB / 0.6042 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.004024/7.466, allocations: 4.381 MB / 3.094 GB, free: 82.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008428/7.467, allocations: 424.3 kB / 3.095 GB, free: 82.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/7.467, allocations: 152 kB / 3.095 GB, free: 82.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000513/7.467, allocations: 0.7653 MB / 3.096 GB, free: 81.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/7.467, allocations: 38.61 kB / 3.096 GB, free: 81.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 3.045e-06/7.467, allocations: 3.281 kB / 3.096 GB, free: 81.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0008112/7.468, allocations: 391 kB / 3.096 GB, free: 81.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/7.468, allocations: 57.34 kB / 3.096 GB, free: 81.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004958/7.469, allocations: 482.8 kB / 3.096 GB, free: 80.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/7.469, allocations: 28.17 kB / 3.097 GB, free: 80.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000194/7.469, allocations: 412.9 kB / 3.097 GB, free: 80.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/7.469, allocations: 141 kB / 3.097 GB, free: 80.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/7.469, allocations: 0 / 3.097 GB, free: 80.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.775e-05/7.469, allocations: 370.5 kB / 3.097 GB, free: 80.01 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/7.469, allocations: 155.1 kB / 3.098 GB, free: 79.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/7.47, allocations: 309 kB / 3.098 GB, free: 79.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/7.47, allocations: 209.4 kB / 3.098 GB, free: 79.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/7.47, allocations: 3.781 kB / 3.098 GB, free: 79.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007043/7.471, allocations: 0.5088 MB / 3.099 GB, free: 79.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/7.471, allocations: 7.625 kB / 3.099 GB, free: 79.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/7.471, allocations: 3.844 kB / 3.099 GB, free: 79.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/7.471, allocations: 8.797 kB / 3.099 GB, free: 79.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/7.471, allocations: 106.8 kB / 3.099 GB, free: 79.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/7.471, allocations: 9.594 kB / 3.099 GB, free: 79.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006318/7.472, allocations: 78.88 kB / 3.099 GB, free: 79.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.834e-05/7.472, allocations: 29.34 kB / 3.099 GB, free: 79.27 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001034/7.472, allocations: 119.1 kB / 3.099 GB, free: 79.16 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004971/7.473, allocations: 371.4 kB / 3.099 GB, free: 78.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/7.473, allocations: 55.5 kB / 3.099 GB, free: 78.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006883/7.473, allocations: 482.6 kB / 3.1 GB, free: 78.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/7.473, allocations: 7.953 kB / 3.1 GB, free: 78.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/7.473, allocations: 0 / 3.1 GB, free: 78.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/7.473, allocations: 3.984 kB / 3.1 GB, free: 78.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/7.476, allocations: 1.811 MB / 3.102 GB, free: 76.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/7.476, allocations: 6.25 kB / 3.102 GB, free: 76.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/7.476, allocations: 95.83 kB / 3.102 GB, free: 76.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/7.476, allocations: 11.95 kB / 3.102 GB, free: 76.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/7.476, allocations: 15.94 kB / 3.102 GB, free: 76.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/7.476, allocations: 8 kB / 3.102 GB, free: 76.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.928e-06/7.476, allocations: 18.61 kB / 3.102 GB, free: 76.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/7.477, allocations: 1.174 MB / 3.103 GB, free: 75.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/7.477, allocations: 192.2 kB / 3.103 GB, free: 74.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.913e-05/7.478, allocations: 15.92 kB / 3.103 GB, free: 74.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/7.478, allocations: 48.48 kB / 3.103 GB, free: 74.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.568e-05/7.478, allocations: 54.48 kB / 3.103 GB, free: 74.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/7.478, allocations: 20 kB / 3.103 GB, free: 74.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003627/7.479, allocations: 382.9 kB / 3.104 GB, free: 74.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/7.479, allocations: 4.25 kB / 3.104 GB, free: 74.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001202/7.48, allocations: 402.5 kB / 3.104 GB, free: 74.01 MB / 0.6042 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 () * 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.004385/7.484, allocations: 5.701 MB / 3.109 GB, free: 68.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006495/7.485, allocations: 386.7 kB / 3.11 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/7.485, allocations: 0.9375 kB / 3.11 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002655/7.485, allocations: 206.9 kB / 3.11 GB, free: 67.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/7.486, allocations: 210.8 kB / 3.11 GB, free: 67.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/7.489, allocations: 1.299 MB / 3.112 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/7.49, allocations: 1.027 MB / 3.113 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006053/7.49, allocations: 136.6 kB / 3.113 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/7.49, allocations: 283.3 kB / 3.113 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of SimCode: time 3.9e-07/7.491, allocations: 4 kB / 3.113 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05412/7.545, allocations: 30.4 MB / 3.143 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/7.545, allocations: 170 kB / 3.143 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.936/10.48, allocations: 4 kB / 3.143 GB, free: 34.68 MB / 0.6042 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)