Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.767/1.767, allocations: 289.7 MB / 302.2 MB, free: 2.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 179 kB / 371.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009356/0.0009354, allocations: 90.98 kB / 0.745 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.2e-05/4.203e-05, allocations: 8 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.297, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.37/6.667, allocations: 2.075 GB / 3.055 GB, free: 172.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/6.668, allocations: 84.55 kB / 3.055 GB, free: 172.6 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4975:5-4976:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4977:5-4978:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4981:5-4982:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4983:5-4984:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 2.787/9.455, allocations: 0.658 GB / 3.713 GB, free: 154.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.003e-06/9.455, allocations: 0 / 3.713 GB, free: 154.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001208/9.455, allocations: 20.78 kB / 3.713 GB, free: 154.1 MB / 0.948 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.005481/9.461, allocations: 1.353 MB / 3.714 GB, free: 153.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/9.461, allocations: 11 kB / 3.714 GB, free: 153.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003527/9.461, allocations: 124.3 kB / 3.714 GB, free: 153.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/9.462, allocations: 152.1 kB / 3.714 GB, free: 153.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/9.464, allocations: 0.5525 MB / 3.715 GB, free: 153.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.701e-05/9.464, allocations: 54.41 kB / 3.715 GB, free: 153.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002202/9.464, allocations: 73.55 kB / 3.715 GB, free: 153.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/9.466, allocations: 0.8031 MB / 3.716 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/9.466, allocations: 2.25 kB / 3.716 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.836e-05/9.466, allocations: 37.16 kB / 3.716 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.697e-05/9.466, allocations: 42.7 kB / 3.716 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/9.468, allocations: 0.6858 MB / 3.717 GB, free: 153.1 MB / 0.948 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.006055/9.474, allocations: 4.597 MB / 3.721 GB, free: 149.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009836/9.475, allocations: 450.6 kB / 3.722 GB, free: 149.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/9.475, allocations: 175.8 kB / 3.722 GB, free: 149.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005435/9.475, allocations: 0.7599 MB / 3.722 GB, free: 149 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/9.476, allocations: 45.94 kB / 3.723 GB, free: 148.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=40): time 2.645e-06/9.476, allocations: 0 / 3.723 GB, free: 148.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=40): time 0.001047/9.477, allocations: 431.5 kB / 3.723 GB, free: 148.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/9.477, allocations: 69.8 kB / 3.723 GB, free: 148.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/9.478, allocations: 0.7676 MB / 3.724 GB, free: 148.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/9.478, allocations: 37.2 kB / 3.724 GB, free: 148.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000274/9.478, allocations: 394.5 kB / 3.724 GB, free: 148.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/9.478, allocations: 128.4 kB / 3.724 GB, free: 148.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/9.478, allocations: 11.66 kB / 3.724 GB, free: 148.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/9.478, allocations: 331 kB / 3.725 GB, free: 148.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/9.479, allocations: 170.1 kB / 3.725 GB, free: 148.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/9.479, allocations: 271.3 kB / 3.725 GB, free: 148 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/9.479, allocations: 208.5 kB / 3.725 GB, free: 148 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/9.479, allocations: 3.938 kB / 3.725 GB, free: 148 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009682/9.48, allocations: 0.5611 MB / 3.726 GB, free: 147.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/9.48, allocations: 7.281 kB / 3.726 GB, free: 147.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/9.48, allocations: 2.344 kB / 3.726 GB, free: 147.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/9.48, allocations: 10.38 kB / 3.726 GB, free: 147.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/9.481, allocations: 111.4 kB / 3.726 GB, free: 147.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/9.481, allocations: 3.938 kB / 3.726 GB, free: 147.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/9.482, allocations: 107 kB / 3.726 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.767e-05/9.482, allocations: 21.25 kB / 3.726 GB, free: 147.8 MB / 0.948 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 (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.000151/9.482, allocations: 134.1 kB / 3.726 GB, free: 147.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/9.482, allocations: 81.75 kB / 3.726 GB, free: 147.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000945/9.483, allocations: 0.5224 MB / 3.727 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/9.483, allocations: 6.938 kB / 3.727 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/9.483, allocations: 0 / 3.727 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/9.483, allocations: 6.234 kB / 3.727 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/9.487, allocations: 2.046 MB / 3.729 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.709e-06/9.487, allocations: 7.406 kB / 3.729 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/9.487, allocations: 91.33 kB / 3.729 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/9.487, allocations: 11.28 kB / 3.729 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/9.487, allocations: 14.66 kB / 3.729 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.277e-05/9.487, allocations: 18.34 kB / 3.729 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/9.487, allocations: 11.81 kB / 3.729 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/9.488, allocations: 1.243 MB / 3.73 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004381/9.489, allocations: 225.8 kB / 3.73 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/9.489, allocations: 26.05 kB / 3.73 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000595/9.49, allocations: 53.48 kB / 3.73 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/9.49, allocations: 50.47 kB / 3.73 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/9.49, allocations: 23.88 kB / 3.731 GB, free: 145.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008079/9.491, allocations: 0.6146 MB / 3.731 GB, free: 145.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/9.491, allocations: 2.781 kB / 3.731 GB, free: 145.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001759/9.492, allocations: 450.5 kB / 3.732 GB, free: 145.7 MB / 0.948 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.00548/9.498, allocations: 5.532 MB / 3.737 GB, free: 142 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008694/9.499, allocations: 424 kB / 3.737 GB, free: 142 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/9.499, allocations: 0 / 3.737 GB, free: 142 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003248/9.499, allocations: 219.7 kB / 3.738 GB, free: 142 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/9.502, allocations: 481.1 kB / 3.738 GB, free: 141.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/9.505, allocations: 1.391 MB / 3.739 GB, free: 141.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004726/9.505, allocations: 1.026 MB / 3.74 GB, free: 140.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007747/9.506, allocations: 184.7 kB / 3.741 GB, free: 140.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/9.506, allocations: 297.1 kB / 3.741 GB, free: 140.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.432e-06/9.506, allocations: 0 / 3.741 GB, free: 140.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/9.608, allocations: 58.91 MB / 3.798 GB, free: 129.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/9.608, allocations: 188.4 kB / 3.799 GB, free: 129.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.965/13.57, allocations: 0 / 3.799 GB, free: 129.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Validation_DoorOpenClosed.fmu > Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)