Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.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: translateModel(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7845/0.7845, 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.001038/0.001039, allocations: 188.8 kB / 187.3 MB, free: 11.89 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.338/1.338, allocations: 221.3 MB / 441.4 MB, free: 4.582 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.000983/0.0009831, allocations: 101.6 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001747/0.001747, allocations: 283.1 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.272e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3884, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.891/4.28, allocations: 1.88 GB / 2.645 GB, free: 127.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/4.28, allocations: 94.84 kB / 2.645 GB, free: 127.3 MB / 0.698 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.313/6.593, allocations: 0.6681 GB / 3.313 GB, free: 112.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.433e-06/6.593, allocations: 1.906 kB / 3.313 GB, free: 112.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.229e-05/6.593, allocations: 15.69 kB / 3.313 GB, free: 112.1 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003172/6.596, allocations: 1.349 MB / 3.314 GB, free: 111.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/6.596, allocations: 10.66 kB / 3.314 GB, free: 111.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005726/6.597, allocations: 146.8 kB / 3.314 GB, free: 111.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007766/6.598, allocations: 0.5648 MB / 3.315 GB, free: 111.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/6.598, allocations: 54.91 kB / 3.315 GB, free: 111.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.439e-05/6.598, allocations: 71.69 kB / 3.315 GB, free: 111.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/6.599, allocations: 0.8085 MB / 3.316 GB, free: 111.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/6.599, allocations: 3.844 kB / 3.316 GB, free: 111.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.915e-05/6.599, allocations: 26.88 kB / 3.316 GB, free: 111.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-05/6.599, allocations: 46.56 kB / 3.316 GB, free: 111.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009432/6.6, allocations: 0.6869 MB / 3.316 GB, free: 111.3 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.003662/6.604, allocations: 4.589 MB / 3.321 GB, free: 108.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008221/6.605, allocations: 452.1 kB / 3.321 GB, free: 108 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/6.605, allocations: 173.7 kB / 3.322 GB, free: 108 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004497/6.605, allocations: 0.7637 MB / 3.322 GB, free: 107.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/6.605, allocations: 42.08 kB / 3.322 GB, free: 107.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 1.663e-06/6.605, allocations: 0 / 3.322 GB, free: 107.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0007772/6.606, allocations: 441 kB / 3.323 GB, free: 107.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/6.606, allocations: 67.91 kB / 3.323 GB, free: 107 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007464/6.607, allocations: 0.766 MB / 3.324 GB, free: 106.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/6.607, allocations: 32.45 kB / 3.324 GB, free: 106.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/6.607, allocations: 386 kB / 3.324 GB, free: 106.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.582e-05/6.607, allocations: 143 kB / 3.324 GB, free: 106.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/6.607, allocations: 6.625 kB / 3.324 GB, free: 106.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.655e-05/6.607, allocations: 327.9 kB / 3.324 GB, free: 106.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/6.607, allocations: 175.5 kB / 3.325 GB, free: 106.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/6.608, allocations: 267.3 kB / 3.325 GB, free: 106.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/6.608, allocations: 208.2 kB / 3.325 GB, free: 106.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/6.608, allocations: 6.688 kB / 3.325 GB, free: 106.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007234/6.609, allocations: 0.558 MB / 3.326 GB, free: 106.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/6.609, allocations: 9.219 kB / 3.326 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/6.609, allocations: 1.641 kB / 3.326 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/6.609, allocations: 7.656 kB / 3.326 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/6.609, allocations: 106.5 kB / 3.326 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/6.609, allocations: 7.641 kB / 3.326 GB, free: 106.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000643/6.61, allocations: 108.7 kB / 3.326 GB, free: 106.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/6.61, allocations: 26.22 kB / 3.326 GB, free: 106.1 MB / 0.698 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 8.954e-05/6.61, allocations: 130.1 kB / 3.326 GB, free: 106 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.536e-05/6.61, allocations: 80.12 kB / 3.326 GB, free: 106 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007532/6.611, allocations: 0.524 MB / 3.327 GB, free: 105.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/6.611, allocations: 3.781 kB / 3.327 GB, free: 105.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/6.611, allocations: 7.031 kB / 3.327 GB, free: 105.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/6.611, allocations: 11.03 kB / 3.327 GB, free: 105.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002434/6.613, allocations: 2.037 MB / 3.329 GB, free: 105.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/6.613, allocations: 6.5 kB / 3.329 GB, free: 105.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/6.614, allocations: 93.55 kB / 3.329 GB, free: 105.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/6.614, allocations: 14.22 kB / 3.329 GB, free: 105.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/6.614, allocations: 21.52 kB / 3.329 GB, free: 105.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/6.614, allocations: 13.38 kB / 3.329 GB, free: 105.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/6.614, allocations: 13.56 kB / 3.329 GB, free: 105.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009942/6.615, allocations: 1.242 MB / 3.33 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/6.615, allocations: 227 kB / 3.33 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/6.615, allocations: 18.34 kB / 3.33 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005664/6.616, allocations: 53.91 kB / 3.33 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.173e-05/6.616, allocations: 53.39 kB / 3.33 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/6.616, allocations: 18.69 kB / 3.33 GB, free: 104.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006086/6.617, allocations: 0.6164 MB / 3.331 GB, free: 104.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.01e-07/6.617, allocations: 2.844 kB / 3.331 GB, free: 104.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001344/6.618, allocations: 449.1 kB / 3.331 GB, free: 104.1 MB / 0.698 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.002279/6.62, allocations: 2.055 MB / 3.333 GB, free: 103.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006003/6.621, allocations: 422.4 kB / 3.334 GB, free: 103.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/6.621, allocations: 0 / 3.334 GB, free: 103.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002752/6.621, allocations: 222 kB / 3.334 GB, free: 103.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/6.623, allocations: 477.8 kB / 3.334 GB, free: 103.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/6.625, allocations: 1.169 MB / 3.336 GB, free: 103 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/6.625, allocations: 1.02 MB / 3.337 GB, free: 102.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006706/6.626, allocations: 191.3 kB / 3.337 GB, free: 102.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/6.626, allocations: 68.84 kB / 3.337 GB, free: 102.2 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/6.626, allocations: 0 / 3.337 GB, free: 102.2 MB / 0.698 GB Notification: Performance of Templates: time 0.05267/6.679, allocations: 44.81 MB / 3.381 GB, free: 101 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)