Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.96/1.96, allocations: 292.6 MB / 307.5 MB, free: 5.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001995/0.001994, allocations: 187.2 kB / 377.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.4 MB / 0.6366 GB, free: 8.641 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009801/0.0009803, allocations: 90.45 kB / 0.7509 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003784, allocations: 8 kB / 0.8748 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4137, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.575/5.989, allocations: 2.075 GB / 3.063 GB, free: 106.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/5.989, allocations: 92.38 kB / 3.063 GB, free: 106.6 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4975:5-4976:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4977:5-4978:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4981:5-4982:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4983:5-4984:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 2.864/8.854, allocations: 0.6586 GB / 3.722 GB, free: 155.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.935e-06/8.854, allocations: 0 / 3.722 GB, free: 155.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.616e-05/8.854, allocations: 23.56 kB / 3.722 GB, free: 155.3 MB / 0.948 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.005741/8.86, allocations: 1.49 MB / 3.724 GB, free: 154.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/8.86, allocations: 15.34 kB / 3.724 GB, free: 154.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003601/8.86, allocations: 119.6 kB / 3.724 GB, free: 154.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008926/8.861, allocations: 156.4 kB / 3.724 GB, free: 154.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/8.863, allocations: 0.5562 MB / 3.724 GB, free: 153.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.098e-05/8.863, allocations: 57.12 kB / 3.724 GB, free: 153.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/8.863, allocations: 64.03 kB / 3.725 GB, free: 153.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/8.864, allocations: 0.8341 MB / 3.725 GB, free: 153.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/8.864, allocations: 0 / 3.725 GB, free: 153.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.41e-05/8.864, allocations: 30.67 kB / 3.725 GB, free: 153.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.233e-05/8.865, allocations: 44.78 kB / 3.725 GB, free: 153.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/8.866, allocations: 0.7312 MB / 3.726 GB, free: 153.1 MB / 0.948 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.00644/8.872, allocations: 4.588 MB / 3.731 GB, free: 149.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/8.873, allocations: 465.2 kB / 3.731 GB, free: 149.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005851/8.874, allocations: 0.763 MB / 3.732 GB, free: 148.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/8.874, allocations: 34.89 kB / 3.732 GB, free: 148.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=40): time 4.769e-06/8.874, allocations: 3.938 kB / 3.732 GB, free: 148.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=40): time 0.00132/8.875, allocations: 0.6131 MB / 3.732 GB, free: 148 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/8.876, allocations: 55.31 kB / 3.732 GB, free: 147.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009218/8.876, allocations: 0.7863 MB / 3.733 GB, free: 147.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/8.877, allocations: 33.7 kB / 3.733 GB, free: 147.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/8.877, allocations: 387.7 kB / 3.734 GB, free: 147.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/8.877, allocations: 143.7 kB / 3.734 GB, free: 147.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/8.877, allocations: 7.594 kB / 3.734 GB, free: 147.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.636e-05/8.877, allocations: 325.3 kB / 3.734 GB, free: 146.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/8.877, allocations: 186.6 kB / 3.734 GB, free: 146.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/8.878, allocations: 290.9 kB / 3.735 GB, free: 146.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/8.878, allocations: 226.5 kB / 3.735 GB, free: 146.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/8.878, allocations: 0 / 3.735 GB, free: 146.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009228/8.879, allocations: 0.5885 MB / 3.735 GB, free: 146.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/8.879, allocations: 7.719 kB / 3.735 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/8.879, allocations: 0 / 3.735 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/8.879, allocations: 6.594 kB / 3.735 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/8.879, allocations: 103.6 kB / 3.735 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/8.879, allocations: 10.3 kB / 3.735 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007996/8.88, allocations: 113.1 kB / 3.736 GB, free: 146.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/8.88, allocations: 23.58 kB / 3.736 GB, free: 146.2 MB / 0.948 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.0003184/8.881, allocations: 249.3 kB / 3.736 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/8.881, allocations: 86.09 kB / 3.736 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009413/8.882, allocations: 0.5518 MB / 3.736 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/8.882, allocations: 7.844 kB / 3.736 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/8.882, allocations: 0 / 3.736 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/8.882, allocations: 3.984 kB / 3.736 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00294/8.885, allocations: 2.075 MB / 3.738 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/8.885, allocations: 8.281 kB / 3.738 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/8.885, allocations: 93.3 kB / 3.739 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/8.885, allocations: 7.875 kB / 3.739 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/8.885, allocations: 19.81 kB / 3.739 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/8.885, allocations: 10.81 kB / 3.739 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/8.885, allocations: 19.2 kB / 3.739 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/8.887, allocations: 1.289 MB / 3.74 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/8.887, allocations: 224.9 kB / 3.74 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/8.887, allocations: 15.69 kB / 3.74 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005859/8.888, allocations: 58.3 kB / 3.74 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/8.888, allocations: 49.62 kB / 3.74 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/8.888, allocations: 20.56 kB / 3.74 GB, free: 142.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007184/8.888, allocations: 0.6281 MB / 3.741 GB, free: 142.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/8.888, allocations: 0 / 3.741 GB, free: 142.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001733/8.89, allocations: 444.5 kB / 3.741 GB, free: 142.2 MB / 0.948 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.005116/8.895, allocations: 5.577 MB / 3.747 GB, free: 137.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008526/8.896, allocations: 457.1 kB / 3.747 GB, free: 137.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/8.896, allocations: 0 / 3.747 GB, free: 137.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003563/8.897, allocations: 235.5 kB / 3.747 GB, free: 137.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/8.899, allocations: 485.2 kB / 3.748 GB, free: 136.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006489/8.905, allocations: 6.065 MB / 3.754 GB, free: 132.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/8.906, allocations: 1.026 MB / 3.755 GB, free: 131.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008198/8.906, allocations: 182.3 kB / 3.755 GB, free: 131.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/8.907, allocations: 296.7 kB / 3.755 GB, free: 131.5 MB / 0.948 GB Notification: Performance of SimCode: time 8.71e-07/8.907, allocations: 0 / 3.755 GB, free: 131.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08616/8.993, allocations: 53.64 MB / 3.808 GB, free: 80.76 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/8.993, allocations: 218.9 kB / 3.808 GB, free: 80.52 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.998/12.99, allocations: 0 / 3.808 GB, free: 80.52 MB / 0.948 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Validation_DoorOpenClosed.fmu > Buildings_8_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)