Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: translateModel(IDEAS.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(IDEAS.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7274/0.7274, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 221.3 MB / 400.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009902/0.0009902, allocations: 104.7 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.844e-05/3.847e-05, allocations: 2.25 kB / 0.56 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2015, allocations: 82.31 MB / 0.6404 GB, free: 7.809 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.751/5.953, allocations: 1.883 GB / 2.524 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/5.953, allocations: 84.77 kB / 2.524 GB, free: 12.44 MB / 0.6823 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.892/8.845, allocations: 0.6682 GB / 3.192 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.052e-06/8.845, allocations: 0 / 3.192 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.637e-05/8.845, allocations: 15.53 kB / 3.192 GB, free: 110.4 MB / 0.6823 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.003666/8.849, allocations: 1.353 MB / 3.193 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.694e-05/8.849, allocations: 10.5 kB / 3.193 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006416/8.849, allocations: 149.9 kB / 3.194 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009632/8.85, allocations: 0.5575 MB / 3.194 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/8.85, allocations: 58.25 kB / 3.194 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/8.85, allocations: 71.39 kB / 3.194 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/8.852, allocations: 0.8097 MB / 3.195 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/8.852, allocations: 0 / 3.195 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/8.852, allocations: 31.42 kB / 3.195 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-05/8.852, allocations: 45.41 kB / 3.195 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/8.853, allocations: 0.6821 MB / 3.196 GB, free: 109.3 MB / 0.6823 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.004387/8.857, allocations: 4.596 MB / 3.2 GB, free: 106 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000895/8.858, allocations: 453.5 kB / 3.201 GB, free: 106 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/8.858, allocations: 179 kB / 3.201 GB, free: 106 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005686/8.859, allocations: 0.7629 MB / 3.202 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/8.859, allocations: 34.83 kB / 3.202 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=40): time 2.265e-06/8.859, allocations: 0 / 3.202 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.0009253/8.86, allocations: 440.7 kB / 3.202 GB, free: 105 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/8.86, allocations: 59.28 kB / 3.202 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008838/8.861, allocations: 0.7683 MB / 3.203 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/8.861, allocations: 37.39 kB / 3.203 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/8.861, allocations: 390.6 kB / 3.203 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.126e-05/8.861, allocations: 141.5 kB / 3.203 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/8.861, allocations: 7.188 kB / 3.203 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.154e-05/8.861, allocations: 332.3 kB / 3.204 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/8.862, allocations: 169.2 kB / 3.204 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/8.862, allocations: 273 kB / 3.204 GB, free: 104 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/8.862, allocations: 211.1 kB / 3.204 GB, free: 104 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/8.862, allocations: 0 / 3.204 GB, free: 104 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007915/8.863, allocations: 0.5623 MB / 3.205 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/8.863, allocations: 7.688 kB / 3.205 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/8.863, allocations: 2.188 kB / 3.205 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/8.863, allocations: 7.5 kB / 3.205 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/8.864, allocations: 106.3 kB / 3.205 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/8.864, allocations: 3.688 kB / 3.205 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008002/8.864, allocations: 107.4 kB / 3.205 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/8.864, allocations: 17.31 kB / 3.205 GB, free: 103.7 MB / 0.6823 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.0001028/8.865, allocations: 130.8 kB / 3.205 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/8.865, allocations: 81.5 kB / 3.205 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008446/8.866, allocations: 0.5348 MB / 3.206 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/8.866, allocations: 3.812 kB / 3.206 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/8.866, allocations: 3.875 kB / 3.206 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/8.866, allocations: 3.797 kB / 3.206 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002805/8.868, allocations: 2.042 MB / 3.208 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/8.868, allocations: 7.031 kB / 3.208 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/8.869, allocations: 90.66 kB / 3.208 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/8.869, allocations: 8.781 kB / 3.208 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/8.869, allocations: 22.22 kB / 3.208 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/8.869, allocations: 17.31 kB / 3.208 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/8.869, allocations: 3.844 kB / 3.208 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/8.87, allocations: 1.253 MB / 3.209 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/8.87, allocations: 223.1 kB / 3.209 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/8.871, allocations: 19.23 kB / 3.209 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005984/8.871, allocations: 57.66 kB / 3.209 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/8.871, allocations: 51.17 kB / 3.21 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/8.871, allocations: 22.25 kB / 3.21 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007114/8.872, allocations: 0.6186 MB / 3.21 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/8.872, allocations: 3.938 kB / 3.21 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001693/8.874, allocations: 442.3 kB / 3.211 GB, free: 100.4 MB / 0.6823 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.002993/8.877, allocations: 2.043 MB / 3.213 GB, free: 99.67 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007864/8.877, allocations: 418.4 kB / 3.213 GB, free: 99.55 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/8.878, allocations: 2.969 kB / 3.213 GB, free: 99.55 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002908/8.878, allocations: 219.5 kB / 3.213 GB, free: 99.48 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/8.88, allocations: 484.4 kB / 3.214 GB, free: 99.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/8.882, allocations: 1.184 MB / 3.215 GB, free: 98.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/8.882, allocations: 1.025 MB / 3.216 GB, free: 97.84 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007419/8.883, allocations: 186 kB / 3.216 GB, free: 97.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/8.883, allocations: 62.02 kB / 3.216 GB, free: 97.79 MB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/8.883, allocations: 0 / 3.216 GB, free: 97.79 MB / 0.6823 GB Notification: Performance of Templates: time 0.05693/8.94, allocations: 44.8 MB / 3.26 GB, free: 55.04 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)