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: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8239/0.8239, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001585/0.001585, allocations: 185.5 kB / 187.3 MB, free: 11.88 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.611/1.611, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.001/0.001, allocations: 97.67 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001928/0.001928, allocations: 273.6 kB / 0.5939 GB, free: 7.938 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.817e-05/4.819e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5262/0.5262, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.155/5.681, allocations: 1.88 GB / 2.645 GB, free: 126.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/5.681, allocations: 85.77 kB / 2.645 GB, free: 126.6 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.37/8.051, allocations: 0.6681 GB / 3.313 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.864e-06/8.051, allocations: 0 / 3.313 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.532e-05/8.051, allocations: 19.98 kB / 3.313 GB, free: 3.867 MB / 0.7136 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.00432/8.055, allocations: 1.352 MB / 3.314 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/8.055, allocations: 8.031 kB / 3.314 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/8.056, allocations: 126.5 kB / 3.314 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007164/8.056, allocations: 146.8 kB / 3.314 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/8.058, allocations: 0.5669 MB / 3.315 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/8.058, allocations: 57.98 kB / 3.315 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/8.058, allocations: 68 kB / 3.315 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/8.059, allocations: 0.8011 MB / 3.316 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/8.059, allocations: 4 kB / 3.316 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/8.059, allocations: 28 kB / 3.316 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.078e-05/8.059, allocations: 49.97 kB / 3.316 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6056/8.665, allocations: 0.681 MB / 3.317 GB, free: 121.2 MB / 0.7136 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.006578/8.672, allocations: 4.592 MB / 3.321 GB, free: 118 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/8.673, allocations: 444 kB / 3.322 GB, free: 118 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/8.673, allocations: 173.1 kB / 3.322 GB, free: 117.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006265/8.674, allocations: 0.7618 MB / 3.323 GB, free: 117.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/8.674, allocations: 39.25 kB / 3.323 GB, free: 117.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 1.874e-06/8.674, allocations: 0 / 3.323 GB, free: 117.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.00114/8.675, allocations: 444.6 kB / 3.323 GB, free: 117 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/8.675, allocations: 63.91 kB / 3.323 GB, free: 116.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/8.676, allocations: 0.7704 MB / 3.324 GB, free: 116.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/8.676, allocations: 34.23 kB / 3.324 GB, free: 116.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/8.677, allocations: 385 kB / 3.324 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/8.677, allocations: 144.2 kB / 3.324 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/8.677, allocations: 11.91 kB / 3.324 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.187e-05/8.677, allocations: 324.4 kB / 3.325 GB, free: 116.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/8.677, allocations: 174.2 kB / 3.325 GB, free: 116.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/8.678, allocations: 275.5 kB / 3.325 GB, free: 116.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004559/8.678, allocations: 206.1 kB / 3.325 GB, free: 116.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/8.678, allocations: 0.7812 kB / 3.325 GB, free: 116.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001113/8.679, allocations: 0.5618 MB / 3.326 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/8.679, allocations: 9.188 kB / 3.326 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/8.679, allocations: 7.188 kB / 3.326 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/8.68, allocations: 3.938 kB / 3.326 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/8.68, allocations: 99.09 kB / 3.326 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/8.68, allocations: 6.562 kB / 3.326 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008734/8.681, allocations: 116.2 kB / 3.326 GB, free: 116 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/8.681, allocations: 18.12 kB / 3.326 GB, free: 116 MB / 0.7136 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.0001291/8.681, allocations: 137.7 kB / 3.326 GB, free: 115.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/8.681, allocations: 79.84 kB / 3.326 GB, free: 115.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009747/8.682, allocations: 0.531 MB / 3.327 GB, free: 115.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/8.682, allocations: 6.531 kB / 3.327 GB, free: 115.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/8.682, allocations: 0 / 3.327 GB, free: 115.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/8.682, allocations: 2.953 kB / 3.327 GB, free: 115.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003246/8.685, allocations: 2.051 MB / 3.329 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/8.686, allocations: 7.781 kB / 3.329 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/8.686, allocations: 89.83 kB / 3.329 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/8.686, allocations: 10.5 kB / 3.329 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/8.686, allocations: 14.69 kB / 3.329 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.561e-05/8.686, allocations: 23.02 kB / 3.329 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/8.686, allocations: 5.75 kB / 3.329 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/8.687, allocations: 1.244 MB / 3.33 GB, free: 114.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003781/8.688, allocations: 228.4 kB / 3.33 GB, free: 114.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/8.688, allocations: 17.19 kB / 3.33 GB, free: 114.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006038/8.689, allocations: 59.98 kB / 3.33 GB, free: 114.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/8.689, allocations: 44 kB / 3.33 GB, free: 114.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/8.689, allocations: 20.75 kB / 3.331 GB, free: 114.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008319/8.69, allocations: 0.6171 MB / 3.331 GB, free: 114.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/8.69, allocations: 0 / 3.331 GB, free: 114.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001953/8.692, allocations: 441.7 kB / 3.332 GB, free: 114.1 MB / 0.7136 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.005924/8.697, allocations: 5.538 MB / 3.337 GB, free: 110.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008069/8.698, allocations: 422.1 kB / 3.337 GB, free: 110.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/8.698, allocations: 0 / 3.337 GB, free: 110.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003233/8.699, allocations: 225.3 kB / 3.338 GB, free: 110.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/8.701, allocations: 479.2 kB / 3.338 GB, free: 110.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/8.704, allocations: 1.381 MB / 3.339 GB, free: 109.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/8.704, allocations: 1.02 MB / 3.34 GB, free: 109.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008001/8.705, allocations: 187.7 kB / 3.341 GB, free: 109.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004419/8.706, allocations: 298.9 kB / 3.341 GB, free: 109.1 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/8.706, allocations: 3.031 kB / 3.341 GB, free: 109.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09915/8.805, allocations: 58.95 MB / 3.398 GB, free: 107.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/8.805, allocations: 210.4 kB / 3.399 GB, free: 107.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.125/12.93, allocations: 0 / 3.399 GB, free: 107.7 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)