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.564/2.564, allocations: 287.3 MB / 302.3 MB, free: 8.352 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.001578/0.001578, allocations: 171.2 kB / 370.8 MB, free: 10.89 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.074/2.074, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 82.88 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004763, allocations: 11.84 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2172, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.76/6.977, allocations: 2.074 GB / 3.052 GB, free: 180.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/6.977, allocations: 87.7 kB / 3.052 GB, free: 180.5 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.623/10.6, allocations: 0.6586 GB / 3.711 GB, free: 196.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.404e-06/10.6, allocations: 3.125 kB / 3.711 GB, free: 196.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.587e-05/10.6, allocations: 18.94 kB / 3.711 GB, free: 196.5 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.005953/10.61, allocations: 1.49 MB / 3.712 GB, free: 195.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/10.61, allocations: 14.5 kB / 3.712 GB, free: 195.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002737/10.61, allocations: 112.5 kB / 3.713 GB, free: 195.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009149/10.61, allocations: 147.4 kB / 3.713 GB, free: 195.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/10.61, allocations: 0.5697 MB / 3.713 GB, free: 195.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.481e-05/10.61, allocations: 54.11 kB / 3.713 GB, free: 195.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/10.61, allocations: 70.34 kB / 3.713 GB, free: 195.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/10.61, allocations: 0.8326 MB / 3.714 GB, free: 195.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/10.61, allocations: 3.609 kB / 3.714 GB, free: 195.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.556e-05/10.61, allocations: 30.22 kB / 3.714 GB, free: 195.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.208e-05/10.61, allocations: 42.19 kB / 3.714 GB, free: 195.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/10.61, allocations: 0.7282 MB / 3.715 GB, free: 195.3 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.007236/10.62, allocations: 4.591 MB / 3.719 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/10.62, allocations: 466.9 kB / 3.72 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000824/10.62, allocations: 0.7643 MB / 3.721 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/10.62, allocations: 38.11 kB / 3.721 GB, free: 191.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=40): time 3.407e-06/10.62, allocations: 0 / 3.721 GB, free: 191.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=40): time 0.002127/10.63, allocations: 0.6129 MB / 3.721 GB, free: 191.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/10.63, allocations: 55.12 kB / 3.721 GB, free: 191.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/10.63, allocations: 0.7809 MB / 3.722 GB, free: 190.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/10.63, allocations: 31.39 kB / 3.722 GB, free: 190.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/10.63, allocations: 391.6 kB / 3.722 GB, free: 190.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/10.63, allocations: 139.6 kB / 3.723 GB, free: 190.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/10.63, allocations: 9.938 kB / 3.723 GB, free: 190.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.218e-05/10.63, allocations: 325 kB / 3.723 GB, free: 190.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005687/10.63, allocations: 184 kB / 3.723 GB, free: 190.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006647/10.63, allocations: 294.5 kB / 3.723 GB, free: 190.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006182/10.63, allocations: 217.8 kB / 3.724 GB, free: 190.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/10.63, allocations: 0 / 3.724 GB, free: 190.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001619/10.63, allocations: 0.6021 MB / 3.724 GB, free: 190.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/10.63, allocations: 9.406 kB / 3.724 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/10.63, allocations: 0 / 3.724 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/10.63, allocations: 7.531 kB / 3.724 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008737/10.63, allocations: 106.5 kB / 3.724 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/10.63, allocations: 6.531 kB / 3.724 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/10.63, allocations: 105.8 kB / 3.724 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.174e-05/10.63, allocations: 20.7 kB / 3.724 GB, free: 190.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.0005/10.63, allocations: 248.6 kB / 3.725 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/10.63, allocations: 82.27 kB / 3.725 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/10.64, allocations: 0.5644 MB / 3.725 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/10.64, allocations: 3.812 kB / 3.725 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/10.64, allocations: 0 / 3.725 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/10.64, allocations: 3.703 kB / 3.725 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004806/10.64, allocations: 2.068 MB / 3.727 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/10.64, allocations: 7.781 kB / 3.727 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000762/10.64, allocations: 89.69 kB / 3.727 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.487e-05/10.64, allocations: 13.97 kB / 3.727 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-05/10.64, allocations: 18.38 kB / 3.727 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-05/10.64, allocations: 14.86 kB / 3.727 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/10.64, allocations: 10.69 kB / 3.727 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/10.64, allocations: 1.29 MB / 3.729 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005764/10.64, allocations: 231.7 kB / 3.729 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/10.65, allocations: 19.14 kB / 3.729 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/10.65, allocations: 57.8 kB / 3.729 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/10.65, allocations: 51.28 kB / 3.729 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/10.65, allocations: 21.84 kB / 3.729 GB, free: 188.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001127/10.65, allocations: 0.6203 MB / 3.73 GB, free: 188.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.61e-07/10.65, allocations: 3.625 kB / 3.73 GB, free: 188.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001885/10.65, allocations: 441 kB / 3.73 GB, free: 188.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.006092/10.66, allocations: 5.585 MB / 3.736 GB, free: 184.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001449/10.66, allocations: 449.2 kB / 3.736 GB, free: 184.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/10.66, allocations: 3.469 kB / 3.736 GB, free: 184.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006475/10.66, allocations: 236.3 kB / 3.736 GB, free: 184.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004049/10.66, allocations: 479.5 kB / 3.737 GB, free: 184.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009944/10.67, allocations: 6.06 MB / 3.743 GB, free: 181.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006164/10.67, allocations: 1.026 MB / 3.744 GB, free: 181 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001292/10.67, allocations: 183.5 kB / 3.744 GB, free: 180.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005718/10.67, allocations: 299.2 kB / 3.744 GB, free: 180.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.102e-06/10.67, allocations: 0 / 3.744 GB, free: 180.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/10.79, allocations: 53.65 MB / 3.796 GB, free: 157.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002841/10.79, allocations: 218.7 kB / 3.797 GB, free: 157.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.233/16.03, allocations: 0 / 3.797 GB, free: 157.4 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)