Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.759/1.759, allocations: 288.2 MB / 303.2 MB, free: 8.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.00131/0.00131, allocations: 184.5 kB / 371.8 MB, free: 10.31 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.007/2.007, allocations: 205.4 MB / 0.6305 GB, free: 10.05 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.0009215/0.0009215, allocations: 93.09 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004233/0.0004236, allocations: 14.22 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2685, allocations: 115.3 MB / 0.9795 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.984/6.253, allocations: 2.074 GB / 3.053 GB, free: 197.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/6.253, allocations: 87.02 kB / 3.054 GB, free: 197.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.703/8.956, allocations: 0.6586 GB / 3.712 GB, free: 191 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.595e-06/8.956, allocations: 0 / 3.712 GB, free: 191 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001193/8.957, allocations: 18.06 kB / 3.712 GB, free: 191 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.00646/8.963, allocations: 1.488 MB / 3.714 GB, free: 190.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.484e-05/8.963, allocations: 10.34 kB / 3.714 GB, free: 190.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004978/8.964, allocations: 120.7 kB / 3.714 GB, free: 190.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/8.965, allocations: 149.5 kB / 3.714 GB, free: 190.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/8.967, allocations: 0.5624 MB / 3.714 GB, free: 189.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.701e-05/8.967, allocations: 56.22 kB / 3.715 GB, free: 189.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/8.967, allocations: 75.36 kB / 3.715 GB, free: 189.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/8.968, allocations: 0.8316 MB / 3.715 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/8.969, allocations: 3 kB / 3.715 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.356e-05/8.969, allocations: 31.08 kB / 3.715 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-05/8.969, allocations: 41.23 kB / 3.715 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/8.97, allocations: 0.7227 MB / 3.716 GB, free: 189.8 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.005901/8.976, allocations: 4.595 MB / 3.721 GB, free: 186.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/8.977, allocations: 478.9 kB / 3.721 GB, free: 186.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005644/8.978, allocations: 0.7549 MB / 3.722 GB, free: 185.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/8.978, allocations: 38.3 kB / 3.722 GB, free: 185.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=40): time 2.866e-06/8.978, allocations: 0 / 3.722 GB, free: 185.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=40): time 0.001403/8.979, allocations: 0.612 MB / 3.723 GB, free: 185.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/8.979, allocations: 62.67 kB / 3.723 GB, free: 185.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/8.98, allocations: 0.771 MB / 3.723 GB, free: 185.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.542e-05/8.98, allocations: 36.39 kB / 3.723 GB, free: 185.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/8.981, allocations: 387.2 kB / 3.724 GB, free: 185.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/8.981, allocations: 144.5 kB / 3.724 GB, free: 185.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/8.981, allocations: 7.312 kB / 3.724 GB, free: 185.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.827e-05/8.981, allocations: 323.6 kB / 3.724 GB, free: 184.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/8.981, allocations: 189.9 kB / 3.724 GB, free: 184.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/8.982, allocations: 290.5 kB / 3.725 GB, free: 184.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/8.982, allocations: 221.7 kB / 3.725 GB, free: 184.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/8.982, allocations: 0 / 3.725 GB, free: 184.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001017/8.983, allocations: 0.5984 MB / 3.725 GB, free: 184.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/8.983, allocations: 7.688 kB / 3.725 GB, free: 184.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/8.983, allocations: 0 / 3.725 GB, free: 184.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.183e-05/8.983, allocations: 3.562 kB / 3.725 GB, free: 184.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/8.984, allocations: 107.7 kB / 3.726 GB, free: 184.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/8.984, allocations: 10.73 kB / 3.726 GB, free: 184.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009085/8.985, allocations: 111.4 kB / 3.726 GB, free: 184.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.081e-05/8.985, allocations: 16.84 kB / 3.726 GB, free: 184.7 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.0003746/8.985, allocations: 246.2 kB / 3.726 GB, free: 184.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/8.985, allocations: 86.2 kB / 3.726 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009783/8.986, allocations: 0.5585 MB / 3.727 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/8.986, allocations: 3.594 kB / 3.727 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/8.986, allocations: 0 / 3.727 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/8.986, allocations: 3.516 kB / 3.727 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/8.99, allocations: 2.074 MB / 3.729 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/8.99, allocations: 7.406 kB / 3.729 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004258/8.99, allocations: 90.42 kB / 3.729 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.946e-05/8.99, allocations: 10.91 kB / 3.729 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/8.99, allocations: 20.78 kB / 3.729 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.581e-05/8.99, allocations: 14.03 kB / 3.729 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/8.99, allocations: 9.75 kB / 3.729 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/8.992, allocations: 1.303 MB / 3.73 GB, free: 182.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000619/8.993, allocations: 227.8 kB / 3.73 GB, free: 182.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/8.993, allocations: 16.38 kB / 3.73 GB, free: 182.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007963/8.994, allocations: 57.84 kB / 3.73 GB, free: 182.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/8.994, allocations: 51.02 kB / 3.73 GB, free: 182.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/8.994, allocations: 18.5 kB / 3.73 GB, free: 182.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009233/8.995, allocations: 0.6265 MB / 3.731 GB, free: 182.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/8.995, allocations: 2 kB / 3.731 GB, free: 182.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00217/8.997, allocations: 449.2 kB / 3.731 GB, free: 182.7 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.005627/9.003, allocations: 5.582 MB / 3.737 GB, free: 179 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009811/9.004, allocations: 454.5 kB / 3.737 GB, free: 179 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/9.004, allocations: 0 / 3.737 GB, free: 179 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003495/9.004, allocations: 237.2 kB / 3.738 GB, free: 179 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/9.007, allocations: 479.8 kB / 3.738 GB, free: 179 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008159/9.015, allocations: 6.046 MB / 3.744 GB, free: 176.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/9.016, allocations: 1.028 MB / 3.745 GB, free: 175.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000985/9.017, allocations: 187.7 kB / 3.745 GB, free: 175.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004299/9.017, allocations: 298.6 kB / 3.745 GB, free: 175.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.362e-06/9.017, allocations: 0 / 3.745 GB, free: 175.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09446/9.111, allocations: 53.65 MB / 3.798 GB, free: 165.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/9.112, allocations: 230.2 kB / 3.798 GB, free: 165.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.838/12.95, allocations: 0 / 3.798 GB, free: 165.1 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_DoorOpenClosed.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)