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: translateModel(IBPSA.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(IBPSA.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001431/0.001431, 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.5703/0.5703, allocations: 90.92 MB / 99.35 MB, free: 2.141 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.593/1.593, allocations: 221.5 MB / 343.2 MB, free: 1.582 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.0009202/0.0009202, allocations: 94.53 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.892e-05/1.894e-05, allocations: 0 / 494.5 MB, free: 52.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1895, allocations: 72.32 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.869/6.059, allocations: 1.873 GB / 2.427 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/6.059, allocations: 86.67 kB / 2.427 GB, free: 60.11 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.879/8.938, allocations: 0.6597 GB / 3.086 GB, free: 88.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.934e-06/8.938, allocations: 0 / 3.086 GB, free: 88.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001402/8.938, allocations: 21.09 kB / 3.087 GB, free: 88.57 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.006338/8.945, allocations: 1.35 MB / 3.088 GB, free: 87.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.343e-05/8.945, allocations: 14.39 kB / 3.088 GB, free: 87.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/8.946, allocations: 151.4 kB / 3.088 GB, free: 87.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/8.948, allocations: 0.5636 MB / 3.089 GB, free: 87.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.583e-05/8.948, allocations: 19.81 kB / 3.089 GB, free: 87.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/8.949, allocations: 43.62 kB / 3.089 GB, free: 87.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001649/8.95, allocations: 0.5685 MB / 3.089 GB, free: 86.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/8.952, allocations: 0.6998 MB / 3.09 GB, free: 86.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.237e-05/8.952, allocations: 3.625 kB / 3.09 GB, free: 86.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.809e-05/8.952, allocations: 0 / 3.09 GB, free: 86.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.624e-05/8.952, allocations: 42.14 kB / 3.09 GB, free: 86.48 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.007399/8.96, allocations: 4.375 MB / 3.094 GB, free: 82.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000925/8.961, allocations: 429.3 kB / 3.095 GB, free: 82.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/8.961, allocations: 159.6 kB / 3.095 GB, free: 82.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006057/8.962, allocations: 0.7605 MB / 3.095 GB, free: 81.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/8.962, allocations: 37.42 kB / 3.096 GB, free: 81.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 3.547e-06/8.962, allocations: 0 / 3.096 GB, free: 81.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.001305/8.963, allocations: 395.4 kB / 3.096 GB, free: 81.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/8.963, allocations: 55.22 kB / 3.096 GB, free: 80.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009263/8.964, allocations: 487.3 kB / 3.096 GB, free: 80.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.38e-05/8.964, allocations: 25.7 kB / 3.096 GB, free: 80.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/8.965, allocations: 413 kB / 3.097 GB, free: 80.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/8.965, allocations: 141.8 kB / 3.097 GB, free: 80.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/8.965, allocations: 0 / 3.097 GB, free: 80.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001702/8.965, allocations: 367.3 kB / 3.097 GB, free: 79.81 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/8.965, allocations: 162.5 kB / 3.097 GB, free: 79.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/8.966, allocations: 297.5 kB / 3.098 GB, free: 79.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/8.966, allocations: 204.8 kB / 3.098 GB, free: 79.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/8.966, allocations: 3.906 kB / 3.098 GB, free: 79.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001224/8.967, allocations: 0.5157 MB / 3.098 GB, free: 79.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/8.967, allocations: 12.08 kB / 3.098 GB, free: 79.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/8.967, allocations: 7 kB / 3.098 GB, free: 79.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.433e-05/8.967, allocations: 6.375 kB / 3.098 GB, free: 79.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005428/8.968, allocations: 105.7 kB / 3.099 GB, free: 79.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.064e-05/8.968, allocations: 7.594 kB / 3.099 GB, free: 79.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/8.969, allocations: 77.75 kB / 3.099 GB, free: 79.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/8.969, allocations: 25.14 kB / 3.099 GB, free: 79.08 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.0001927/8.97, allocations: 112.5 kB / 3.099 GB, free: 78.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/8.97, allocations: 55.69 kB / 3.099 GB, free: 78.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/8.971, allocations: 474.9 kB / 3.099 GB, free: 78.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/8.971, allocations: 9.562 kB / 3.099 GB, free: 78.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/8.971, allocations: 0 / 3.099 GB, free: 78.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/8.971, allocations: 9.344 kB / 3.099 GB, free: 78.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004354/8.975, allocations: 1.809 MB / 3.101 GB, free: 76.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.248e-05/8.975, allocations: 12 kB / 3.101 GB, free: 76.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/8.976, allocations: 91.89 kB / 3.101 GB, free: 76.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.17e-05/8.976, allocations: 11.06 kB / 3.101 GB, free: 76.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.824e-05/8.976, allocations: 8 kB / 3.101 GB, free: 76.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.762e-05/8.976, allocations: 15.92 kB / 3.101 GB, free: 76.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.615e-05/8.976, allocations: 15.89 kB / 3.101 GB, free: 76.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/8.978, allocations: 1.183 MB / 3.102 GB, free: 75.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006697/8.979, allocations: 192.2 kB / 3.103 GB, free: 75.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/8.979, allocations: 8 kB / 3.103 GB, free: 75.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009295/8.98, allocations: 49.08 kB / 3.103 GB, free: 75.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/8.98, allocations: 54.62 kB / 3.103 GB, free: 75.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.641e-05/8.98, allocations: 26.73 kB / 3.103 GB, free: 75.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006867/8.981, allocations: 386.9 kB / 3.103 GB, free: 74.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/8.981, allocations: 0 / 3.103 GB, free: 74.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002483/8.983, allocations: 397.7 kB / 3.103 GB, free: 74.31 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.004888/8.988, allocations: 2.302 MB / 3.106 GB, free: 72.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008338/8.989, allocations: 386.7 kB / 3.106 GB, free: 72.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/8.989, allocations: 3.188 kB / 3.106 GB, free: 72.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003228/8.989, allocations: 202.2 kB / 3.106 GB, free: 71.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/8.991, allocations: 225.4 kB / 3.106 GB, free: 71.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/8.994, allocations: 1.1 MB / 3.108 GB, free: 70.42 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007517/8.995, allocations: 1.027 MB / 3.109 GB, free: 69.37 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007232/8.995, allocations: 135.1 kB / 3.109 GB, free: 69.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/8.995, allocations: 59.36 kB / 3.109 GB, free: 69.18 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/8.995, allocations: 0 / 3.109 GB, free: 69.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.03542/9.031, allocations: 20.73 MB / 3.129 GB, free: 48.94 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.makefile (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 & ./IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)