Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="IDEAS_IDEAS_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.01168/0.01168, allocations: 171.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7824/0.7824, allocations: 135.2 MB / 151 MB, free: 13.79 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.574/1.574, allocations: 223.2 MB / 406.9 MB, free: 3.223 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.001047/0.001046, allocations: 100.5 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003776, allocations: 11.98 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4164, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.53/4.946, allocations: 1.883 GB / 2.533 GB, free: 93.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/4.946, allocations: 95.94 kB / 2.533 GB, free: 93.04 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.735/7.681, allocations: 0.6687 GB / 3.202 GB, free: 120.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.114e-06/7.681, allocations: 0 / 3.202 GB, free: 120.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.234e-05/7.681, allocations: 21.44 kB / 3.202 GB, free: 120.5 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.005989/7.687, allocations: 1.488 MB / 3.203 GB, free: 120.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/7.687, allocations: 10.03 kB / 3.203 GB, free: 120.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003844/7.688, allocations: 120.7 kB / 3.203 GB, free: 120.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/7.689, allocations: 153.5 kB / 3.203 GB, free: 120 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/7.69, allocations: 0.5672 MB / 3.204 GB, free: 119.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.767e-05/7.69, allocations: 54.52 kB / 3.204 GB, free: 119.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/7.691, allocations: 70.34 kB / 3.204 GB, free: 119.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/7.692, allocations: 0.8288 MB / 3.205 GB, free: 119.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/7.692, allocations: 3.656 kB / 3.205 GB, free: 119.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.986e-05/7.692, allocations: 32.66 kB / 3.205 GB, free: 119.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001365/7.693, allocations: 45.78 kB / 3.205 GB, free: 119.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/7.694, allocations: 0.7305 MB / 3.206 GB, free: 119.6 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005787/7.7, allocations: 4.581 MB / 3.21 GB, free: 116.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/7.701, allocations: 468.5 kB / 3.211 GB, free: 116.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005571/7.701, allocations: 0.7625 MB / 3.211 GB, free: 115.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/7.702, allocations: 41.23 kB / 3.211 GB, free: 115.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 2.194e-06/7.702, allocations: 0 / 3.211 GB, free: 115.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.00141/7.703, allocations: 0.6118 MB / 3.212 GB, free: 115.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/7.703, allocations: 59.91 kB / 3.212 GB, free: 115.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000986/7.704, allocations: 0.7696 MB / 3.213 GB, free: 115.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/7.704, allocations: 39.66 kB / 3.213 GB, free: 115.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/7.704, allocations: 391.2 kB / 3.213 GB, free: 115.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/7.704, allocations: 147.1 kB / 3.213 GB, free: 115 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/7.705, allocations: 9.25 kB / 3.213 GB, free: 115 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.471e-05/7.705, allocations: 326 kB / 3.214 GB, free: 114.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/7.705, allocations: 189.4 kB / 3.214 GB, free: 114.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004176/7.705, allocations: 290.1 kB / 3.214 GB, free: 114.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/7.706, allocations: 222.9 kB / 3.214 GB, free: 114.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/7.706, allocations: 3.562 kB / 3.214 GB, free: 114.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009813/7.707, allocations: 0.5954 MB / 3.215 GB, free: 114.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/7.707, allocations: 7.062 kB / 3.215 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/7.707, allocations: 3.625 kB / 3.215 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/7.707, allocations: 3.438 kB / 3.215 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/7.707, allocations: 99.8 kB / 3.215 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/7.707, allocations: 7.641 kB / 3.215 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000911/7.708, allocations: 117.6 kB / 3.215 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.951e-05/7.708, allocations: 17.16 kB / 3.215 GB, free: 114.5 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 () * Number of clocked 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.000437/7.709, allocations: 250.3 kB / 3.215 GB, free: 114.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/7.709, allocations: 82.42 kB / 3.216 GB, free: 114.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009736/7.71, allocations: 0.5611 MB / 3.216 GB, free: 114.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/7.71, allocations: 3.781 kB / 3.216 GB, free: 114.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/7.71, allocations: 5.781 kB / 3.216 GB, free: 114.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/7.71, allocations: 3.891 kB / 3.216 GB, free: 114.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/7.713, allocations: 2.075 MB / 3.218 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/7.713, allocations: 6.719 kB / 3.218 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/7.714, allocations: 88.44 kB / 3.218 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/7.714, allocations: 10.66 kB / 3.218 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/7.714, allocations: 17.34 kB / 3.218 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-05/7.714, allocations: 13.5 kB / 3.218 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/7.714, allocations: 13.66 kB / 3.218 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/7.715, allocations: 1.289 MB / 3.22 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005169/7.716, allocations: 230.5 kB / 3.22 GB, free: 112.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/7.716, allocations: 15 kB / 3.22 GB, free: 112.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006561/7.717, allocations: 56.09 kB / 3.22 GB, free: 112.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/7.717, allocations: 49.7 kB / 3.22 GB, free: 112.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/7.717, allocations: 20.56 kB / 3.22 GB, free: 112.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00081/7.718, allocations: 0.6279 MB / 3.221 GB, free: 112.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/7.718, allocations: 0 / 3.221 GB, free: 112.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001842/7.719, allocations: 448.5 kB / 3.221 GB, free: 112.5 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 () * Number of clocked 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.005832/7.725, allocations: 5.584 MB / 3.226 GB, free: 108.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001169/7.726, allocations: 459.7 kB / 3.227 GB, free: 108.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.128e-06/7.726, allocations: 0 / 3.227 GB, free: 108.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004215/7.727, allocations: 242.4 kB / 3.227 GB, free: 108.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/7.73, allocations: 472 kB / 3.228 GB, free: 108.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007508/7.737, allocations: 6.056 MB / 3.233 GB, free: 106 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005644/7.738, allocations: 1.024 MB / 3.234 GB, free: 105.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009639/7.739, allocations: 184.5 kB / 3.235 GB, free: 105.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004006/7.739, allocations: 293.7 kB / 3.235 GB, free: 105.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.322e-06/7.739, allocations: 3.5 kB / 3.235 GB, free: 105.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1028/7.842, allocations: 53.64 MB / 3.287 GB, free: 103.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/7.842, allocations: 208.9 kB / 3.287 GB, free: 103.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.091/11.93, allocations: 0 / 3.287 GB, free: 103.1 MB / 0.698 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Validation_DoorOpenClosed.fmu > IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)