Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8443/0.8443, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 180.8 kB / 182.2 MB, free: 9.449 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008667/0.0008668, allocations: 90.05 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001704/0.001704, allocations: 273.9 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.01e-05/2.013e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.4431, allocations: 82.77 MB / 0.7574 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.793/5.236, allocations: 1.88 GB / 2.637 GB, free: 179.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/5.236, allocations: 91.23 kB / 2.637 GB, free: 179 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 2.182/7.418, allocations: 0.6597 GB / 3.297 GB, free: 43.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/7.418, allocations: 0 / 3.297 GB, free: 43.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.502e-05/7.418, allocations: 19.94 kB / 3.297 GB, free: 43.93 MB / 0.698 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.003375/7.421, allocations: 1.36 MB / 3.298 GB, free: 42.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/7.421, allocations: 12.03 kB / 3.298 GB, free: 42.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005911/7.422, allocations: 146.8 kB / 3.298 GB, free: 42.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007744/7.423, allocations: 0.555 MB / 3.299 GB, free: 41.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/7.423, allocations: 20 kB / 3.299 GB, free: 41.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/7.423, allocations: 47.95 kB / 3.299 GB, free: 41.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007997/7.424, allocations: 0.5623 MB / 3.3 GB, free: 41.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00094/7.425, allocations: 0.7114 MB / 3.3 GB, free: 40.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/7.425, allocations: 0 / 3.3 GB, free: 40.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-05/7.425, allocations: 0 / 3.3 GB, free: 40.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.403e-05/7.425, allocations: 45.92 kB / 3.3 GB, free: 40.36 MB / 0.698 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.00374/7.429, allocations: 4.383 MB / 3.305 GB, free: 35.44 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007642/7.429, allocations: 416.6 kB / 3.305 GB, free: 35.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/7.43, allocations: 157.5 kB / 3.305 GB, free: 34.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004702/7.43, allocations: 0.7678 MB / 3.306 GB, free: 33.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/7.43, allocations: 38.89 kB / 3.306 GB, free: 33.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 2.625e-06/7.43, allocations: 0 / 3.306 GB, free: 33.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0007692/7.431, allocations: 395 kB / 3.306 GB, free: 33.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.909e-05/7.431, allocations: 59.34 kB / 3.306 GB, free: 33.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/7.431, allocations: 490.1 kB / 3.307 GB, free: 32.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/7.431, allocations: 29.7 kB / 3.307 GB, free: 32.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/7.432, allocations: 403.2 kB / 3.307 GB, free: 32.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.204e-05/7.432, allocations: 134 kB / 3.307 GB, free: 32.37 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/7.432, allocations: 4 kB / 3.307 GB, free: 32.37 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.423e-05/7.432, allocations: 370.7 kB / 3.308 GB, free: 32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/7.432, allocations: 157.1 kB / 3.308 GB, free: 31.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/7.432, allocations: 304.7 kB / 3.308 GB, free: 31.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/7.433, allocations: 203.6 kB / 3.308 GB, free: 31.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/7.433, allocations: 0 / 3.308 GB, free: 31.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007015/7.433, allocations: 0.5195 MB / 3.309 GB, free: 30.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/7.433, allocations: 8 kB / 3.309 GB, free: 30.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/7.433, allocations: 4 kB / 3.309 GB, free: 30.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/7.433, allocations: 4 kB / 3.309 GB, free: 30.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/7.434, allocations: 107.8 kB / 3.309 GB, free: 30.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/7.434, allocations: 4.469 kB / 3.309 GB, free: 30.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006331/7.434, allocations: 79.53 kB / 3.309 GB, free: 30.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/7.435, allocations: 24.11 kB / 3.309 GB, free: 30.53 MB / 0.698 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.0001014/7.435, allocations: 128.7 kB / 3.309 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004726/7.435, allocations: 372.7 kB / 3.31 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.426e-05/7.435, allocations: 59.28 kB / 3.31 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000673/7.436, allocations: 482.9 kB / 3.31 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/7.436, allocations: 4 kB / 3.31 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/7.436, allocations: 0 / 3.31 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/7.436, allocations: 7.938 kB / 3.31 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/7.438, allocations: 1.81 MB / 3.312 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/7.438, allocations: 4 kB / 3.312 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/7.439, allocations: 91.83 kB / 3.312 GB, free: 27.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/7.439, allocations: 12 kB / 3.312 GB, free: 27.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/7.439, allocations: 12 kB / 3.312 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/7.439, allocations: 12.48 kB / 3.312 GB, free: 27.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.433e-06/7.439, allocations: 15.94 kB / 3.312 GB, free: 27.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009311/7.44, allocations: 1.177 MB / 3.313 GB, free: 25.92 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/7.44, allocations: 200.2 kB / 3.313 GB, free: 25.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.949e-05/7.44, allocations: 11.98 kB / 3.313 GB, free: 25.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000572/7.441, allocations: 44.02 kB / 3.313 GB, free: 25.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/7.441, allocations: 47.84 kB / 3.313 GB, free: 25.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/7.441, allocations: 20 kB / 3.313 GB, free: 25.58 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003558/7.441, allocations: 386.9 kB / 3.314 GB, free: 25.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.441, allocations: 0 / 3.314 GB, free: 25.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001132/7.442, allocations: 403.2 kB / 3.314 GB, free: 24.81 MB / 0.698 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.003672/7.446, allocations: 5.708 MB / 3.32 GB, free: 18.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006099/7.447, allocations: 390.7 kB / 3.32 GB, free: 18.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/7.447, allocations: 0 / 3.32 GB, free: 18.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002434/7.447, allocations: 205.4 kB / 3.32 GB, free: 18.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/7.448, allocations: 229.1 kB / 3.321 GB, free: 17.99 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/7.45, allocations: 1.289 MB / 3.322 GB, free: 16.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/7.451, allocations: 1.027 MB / 3.323 GB, free: 15.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005922/7.451, allocations: 132.8 kB / 3.323 GB, free: 15.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/7.452, allocations: 283.3 kB / 3.323 GB, free: 15.12 MB / 0.698 GB Notification: Performance of SimCode: time 6.32e-07/7.452, allocations: 0 / 3.323 GB, free: 15.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5269/7.979, allocations: 30.44 MB / 3.353 GB, free: 115.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/7.979, allocations: 185 kB / 3.353 GB, free: 114.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.108/11.09, allocations: 0 / 3.353 GB, free: 114.9 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)