Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.542/2.542, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001505/0.001505, allocations: 180.8 kB / 360.6 MB, free: 7.297 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.059/2.059, allocations: 205.3 MB / 0.6191 GB, free: 12.24 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.001138/0.001137, allocations: 94.03 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.452e-05/2.452e-05, allocations: 4 kB / 0.8508 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8245/0.8246, allocations: 115.2 MB / 0.9634 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.903/6.728, allocations: 2.073 GB / 3.037 GB, free: 46.58 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/6.728, allocations: 88.11 kB / 3.037 GB, free: 46.54 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 3.483/10.21, allocations: 0.6496 GB / 3.686 GB, free: 143 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.723e-06/10.21, allocations: 0 / 3.686 GB, free: 143 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.402e-05/10.21, allocations: 23.98 kB / 3.686 GB, free: 143 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.005453/10.22, allocations: 1.354 MB / 3.688 GB, free: 141.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/10.22, allocations: 8.562 kB / 3.688 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/10.22, allocations: 148.4 kB / 3.688 GB, free: 141.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/10.22, allocations: 0.5663 MB / 3.688 GB, free: 140.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/10.22, allocations: 28 kB / 3.688 GB, free: 140.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002509/10.22, allocations: 44 kB / 3.688 GB, free: 140.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001521/10.22, allocations: 0.5618 MB / 3.689 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/10.22, allocations: 0.705 MB / 3.69 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/10.22, allocations: 3.938 kB / 3.69 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.071e-05/10.22, allocations: 4 kB / 3.69 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.386e-05/10.22, allocations: 37.98 kB / 3.69 GB, free: 139.4 MB / 0.948 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.006982/10.23, allocations: 4.379 MB / 3.694 GB, free: 134.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/10.23, allocations: 423.5 kB / 3.694 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/10.23, allocations: 161.5 kB / 3.695 GB, free: 133.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007517/10.23, allocations: 0.76 MB / 3.695 GB, free: 133 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/10.23, allocations: 42.89 kB / 3.695 GB, free: 132.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=40): time 3.216e-06/10.23, allocations: 0 / 3.695 GB, free: 132.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=40): time 0.001364/10.23, allocations: 395 kB / 3.696 GB, free: 132.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/10.23, allocations: 55.62 kB / 3.696 GB, free: 132.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008196/10.24, allocations: 490.2 kB / 3.696 GB, free: 132 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/10.24, allocations: 29.64 kB / 3.696 GB, free: 131.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/10.24, allocations: 407.2 kB / 3.697 GB, free: 131.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/10.24, allocations: 138 kB / 3.697 GB, free: 131.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/10.24, allocations: 0 / 3.697 GB, free: 131.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001048/10.24, allocations: 366.8 kB / 3.697 GB, free: 131 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/10.24, allocations: 157.1 kB / 3.697 GB, free: 130.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/10.24, allocations: 306.7 kB / 3.698 GB, free: 130.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/10.24, allocations: 203.8 kB / 3.698 GB, free: 130.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/10.24, allocations: 0 / 3.698 GB, free: 130.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001372/10.24, allocations: 0.5193 MB / 3.698 GB, free: 129.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/10.24, allocations: 4 kB / 3.698 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/10.24, allocations: 4 kB / 3.698 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/10.24, allocations: 11.95 kB / 3.698 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008917/10.24, allocations: 108.3 kB / 3.698 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/10.24, allocations: 12 kB / 3.698 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/10.24, allocations: 71.48 kB / 3.698 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.568e-05/10.24, allocations: 27.98 kB / 3.698 GB, free: 129.6 MB / 0.948 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.0001454/10.24, allocations: 120.6 kB / 3.699 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009037/10.24, allocations: 372.9 kB / 3.699 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/10.24, allocations: 59.3 kB / 3.699 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/10.24, allocations: 486.8 kB / 3.699 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/10.24, allocations: 8 kB / 3.699 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/10.24, allocations: 0 / 3.699 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/10.24, allocations: 3.984 kB / 3.699 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004222/10.25, allocations: 1.806 MB / 3.701 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/10.25, allocations: 8.125 kB / 3.701 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007763/10.25, allocations: 100.6 kB / 3.701 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/10.25, allocations: 8 kB / 3.701 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/10.25, allocations: 12 kB / 3.701 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.19e-05/10.25, allocations: 11.94 kB / 3.701 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/10.25, allocations: 11.98 kB / 3.701 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/10.25, allocations: 1.181 MB / 3.703 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004665/10.25, allocations: 188.2 kB / 3.703 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/10.25, allocations: 20.05 kB / 3.703 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009758/10.25, allocations: 39.97 kB / 3.703 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/10.25, allocations: 51.73 kB / 3.703 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/10.25, allocations: 27.98 kB / 3.703 GB, free: 124.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006324/10.25, allocations: 386.9 kB / 3.703 GB, free: 124.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/10.25, allocations: 0 / 3.703 GB, free: 124.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00175/10.25, allocations: 399.2 kB / 3.704 GB, free: 123.8 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 () * 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.005692/10.26, allocations: 5.699 MB / 3.709 GB, free: 117.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001137/10.26, allocations: 387.5 kB / 3.71 GB, free: 117.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/10.26, allocations: 0 / 3.71 GB, free: 117.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004966/10.26, allocations: 200.3 kB / 3.71 GB, free: 117.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/10.26, allocations: 223.2 kB / 3.71 GB, free: 117.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/10.27, allocations: 1.294 MB / 3.711 GB, free: 115.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/10.27, allocations: 1.031 MB / 3.712 GB, free: 114.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001088/10.27, allocations: 140.7 kB / 3.712 GB, free: 114.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005971/10.27, allocations: 283.3 kB / 3.713 GB, free: 114.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.202e-06/10.27, allocations: 0 / 3.713 GB, free: 114.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1128/10.38, allocations: 30.4 MB / 3.742 GB, free: 83.88 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/10.38, allocations: 181.9 kB / 3.742 GB, free: 83.68 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.718/14.1, allocations: 3.938 kB / 3.742 GB, free: 83.67 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Validation_DoorOpenClosed.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)