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.607/1.607, allocations: 285.4 MB / 298 MB, free: 5.977 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.001097/0.001097, allocations: 188.8 kB / 366.4 MB, free: 2.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0008168/0.0008168, allocations: 80.03 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.991e-05/4.012e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7789/0.779, allocations: 115.3 MB / 0.971 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.56/6.339, allocations: 2.074 GB / 3.045 GB, free: 65.36 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/6.34, allocations: 83.95 kB / 3.045 GB, free: 65.28 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.667/9.006, allocations: 0.658 GB / 3.703 GB, free: 140.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.754e-06/9.006, allocations: 4 kB / 3.703 GB, free: 140.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.283e-05/9.007, allocations: 16 kB / 3.703 GB, free: 140.8 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.003788/9.01, allocations: 1.358 MB / 3.704 GB, free: 139.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/9.01, allocations: 12.03 kB / 3.704 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/9.011, allocations: 118.5 kB / 3.704 GB, free: 139.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006616/9.011, allocations: 146.8 kB / 3.705 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009257/9.012, allocations: 0.5585 MB / 3.705 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/9.012, allocations: 54 kB / 3.705 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.76e-05/9.012, allocations: 75.97 kB / 3.705 GB, free: 138.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/9.013, allocations: 0.8091 MB / 3.706 GB, free: 137.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/9.013, allocations: 0 / 3.706 GB, free: 137.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/9.014, allocations: 35.94 kB / 3.706 GB, free: 137.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-05/9.014, allocations: 37.98 kB / 3.706 GB, free: 137.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009551/9.015, allocations: 0.6833 MB / 3.707 GB, free: 136.8 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.004922/9.019, allocations: 4.593 MB / 3.711 GB, free: 131.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/9.021, allocations: 452 kB / 3.712 GB, free: 131.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/9.021, allocations: 181.5 kB / 3.712 GB, free: 131.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006557/9.021, allocations: 0.7561 MB / 3.713 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/9.022, allocations: 42.89 kB / 3.713 GB, free: 130.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=40): time 4.789e-06/9.022, allocations: 0 / 3.713 GB, free: 130.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=40): time 0.001137/9.023, allocations: 439 kB / 3.713 GB, free: 129.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/9.023, allocations: 59.34 kB / 3.713 GB, free: 129.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009831/9.024, allocations: 0.7736 MB / 3.714 GB, free: 128.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/9.024, allocations: 29.7 kB / 3.714 GB, free: 128.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/9.024, allocations: 392.4 kB / 3.714 GB, free: 128.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/9.024, allocations: 145.9 kB / 3.714 GB, free: 128.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/9.024, allocations: 16 kB / 3.714 GB, free: 128.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001318/9.024, allocations: 322 kB / 3.715 GB, free: 127.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/9.025, allocations: 173 kB / 3.715 GB, free: 127.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/9.025, allocations: 263.4 kB / 3.715 GB, free: 127.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/9.025, allocations: 221.4 kB / 3.715 GB, free: 127.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/9.025, allocations: 0 / 3.715 GB, free: 127.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008325/9.026, allocations: 0.5597 MB / 3.716 GB, free: 126.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/9.026, allocations: 4 kB / 3.716 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/9.026, allocations: 4 kB / 3.716 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/9.026, allocations: 4 kB / 3.716 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004709/9.027, allocations: 99.89 kB / 3.716 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/9.027, allocations: 11.89 kB / 3.716 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009244/9.028, allocations: 115.4 kB / 3.716 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-05/9.028, allocations: 28 kB / 3.716 GB, free: 126.4 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 () * 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.0001359/9.028, allocations: 120.9 kB / 3.716 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/9.028, allocations: 79.06 kB / 3.716 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009137/9.029, allocations: 0.5359 MB / 3.717 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/9.029, allocations: 8 kB / 3.717 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/9.029, allocations: 3.984 kB / 3.717 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/9.029, allocations: 3.953 kB / 3.717 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/9.032, allocations: 2.04 MB / 3.719 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/9.032, allocations: 4 kB / 3.719 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/9.033, allocations: 91.84 kB / 3.719 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/9.033, allocations: 8 kB / 3.719 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/9.033, allocations: 23.94 kB / 3.719 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/9.033, allocations: 11.94 kB / 3.719 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/9.033, allocations: 8 kB / 3.719 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/9.034, allocations: 1.251 MB / 3.72 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/9.034, allocations: 220 kB / 3.721 GB, free: 121.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/9.034, allocations: 16 kB / 3.721 GB, free: 121.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000582/9.035, allocations: 55.86 kB / 3.721 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/9.035, allocations: 55.78 kB / 3.721 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/9.035, allocations: 24 kB / 3.721 GB, free: 121.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006659/9.036, allocations: 0.6124 MB / 3.721 GB, free: 120.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/9.036, allocations: 0 / 3.721 GB, free: 120.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001567/9.037, allocations: 455.7 kB / 3.722 GB, free: 120.3 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.004641/9.042, allocations: 5.532 MB / 3.727 GB, free: 114.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007252/9.043, allocations: 420.3 kB / 3.727 GB, free: 114.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/9.043, allocations: 4.062 kB / 3.728 GB, free: 114.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003055/9.043, allocations: 219.5 kB / 3.728 GB, free: 113.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/9.046, allocations: 483.7 kB / 3.728 GB, free: 113.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/9.048, allocations: 1.379 MB / 3.73 GB, free: 111.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/9.048, allocations: 1.029 MB / 3.731 GB, free: 110.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007325/9.049, allocations: 179 kB / 3.731 GB, free: 110.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003637/9.05, allocations: 295.3 kB / 3.731 GB, free: 110.4 MB / 0.948 GB Notification: Performance of SimCode: time 8.21e-07/9.05, allocations: 4 kB / 3.731 GB, free: 110.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08897/9.139, allocations: 58.92 MB / 3.789 GB, free: 51.59 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002538/9.139, allocations: 203.2 kB / 3.789 GB, free: 51.36 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.935/13.07, allocations: 3.938 kB / 3.789 GB, free: 51.36 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)