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.8689/0.8689, allocations: 143.4 MB / 158.3 MB, free: 5.758 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.0013/0.0013, allocations: 181 kB / 191.5 MB, free: 5.75 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.548/1.548, allocations: 223.2 MB / 447.7 MB, free: 4.785 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.0009961/0.0009961, allocations: 84.34 kB / 0.5187 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001871/0.001871, allocations: 271.3 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004436, allocations: 15.34 kB / 0.6929 GB, free: 59.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.178, allocations: 82.8 MB / 0.7738 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.894/4.072, allocations: 1.88 GB / 2.654 GB, free: 198.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/4.073, allocations: 94.45 kB / 2.654 GB, free: 198.1 MB / 0.7136 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 1.948/6.021, allocations: 0.6687 GB / 3.323 GB, free: 77.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.084e-06/6.021, allocations: 0 / 3.323 GB, free: 77.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.427e-05/6.021, allocations: 24 kB / 3.323 GB, free: 77.83 MB / 0.7136 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.003873/6.025, allocations: 1.486 MB / 3.324 GB, free: 76.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/6.025, allocations: 8.031 kB / 3.324 GB, free: 76.29 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/6.025, allocations: 122.5 kB / 3.325 GB, free: 76.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005771/6.026, allocations: 154.7 kB / 3.325 GB, free: 76.01 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000846/6.027, allocations: 0.555 MB / 3.325 GB, free: 75.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/6.027, allocations: 57.98 kB / 3.325 GB, free: 75.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.76e-05/6.027, allocations: 71.95 kB / 3.325 GB, free: 75.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/6.028, allocations: 0.8322 MB / 3.326 GB, free: 74.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/6.028, allocations: 3.906 kB / 3.326 GB, free: 74.42 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.915e-05/6.028, allocations: 28 kB / 3.326 GB, free: 74.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.352e-05/6.028, allocations: 41.98 kB / 3.326 GB, free: 74.36 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/6.029, allocations: 0.7261 MB / 3.327 GB, free: 73.62 MB / 0.7136 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.003974/6.033, allocations: 4.596 MB / 3.331 GB, free: 68.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008813/6.034, allocations: 468.7 kB / 3.332 GB, free: 68.01 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004758/6.035, allocations: 0.7678 MB / 3.333 GB, free: 67.08 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/6.035, allocations: 34.89 kB / 3.333 GB, free: 67.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=40): time 2.976e-06/6.035, allocations: 0 / 3.333 GB, free: 67.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.001086/6.036, allocations: 0.6044 MB / 3.333 GB, free: 66.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/6.036, allocations: 55.41 kB / 3.333 GB, free: 66.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007469/6.036, allocations: 0.7775 MB / 3.334 GB, free: 65.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/6.037, allocations: 33.7 kB / 3.334 GB, free: 65.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000187/6.037, allocations: 388.3 kB / 3.334 GB, free: 65.15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.053e-05/6.037, allocations: 145.9 kB / 3.335 GB, free: 65.01 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/6.037, allocations: 8 kB / 3.335 GB, free: 65 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.754e-05/6.037, allocations: 329.9 kB / 3.335 GB, free: 64.67 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/6.037, allocations: 185 kB / 3.335 GB, free: 64.49 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/6.037, allocations: 291.3 kB / 3.335 GB, free: 64.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/6.038, allocations: 221.7 kB / 3.336 GB, free: 63.96 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/6.038, allocations: 0 / 3.336 GB, free: 63.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007786/6.039, allocations: 0.5909 MB / 3.336 GB, free: 63.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/6.039, allocations: 8.219 kB / 3.336 GB, free: 63.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/6.039, allocations: 4 kB / 3.336 GB, free: 63.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/6.039, allocations: 7.938 kB / 3.336 GB, free: 63.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/6.039, allocations: 99.89 kB / 3.336 GB, free: 63.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/6.039, allocations: 7.938 kB / 3.336 GB, free: 63.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007194/6.04, allocations: 115.1 kB / 3.336 GB, free: 63.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/6.04, allocations: 20 kB / 3.336 GB, free: 63.1 MB / 0.7136 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.0002662/6.04, allocations: 245.6 kB / 3.337 GB, free: 62.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.342e-05/6.04, allocations: 79.06 kB / 3.337 GB, free: 62.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008223/6.041, allocations: 0.5554 MB / 3.337 GB, free: 62.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/6.041, allocations: 8 kB / 3.337 GB, free: 62.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/6.041, allocations: 7.938 kB / 3.337 GB, free: 62.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/6.041, allocations: 3.984 kB / 3.337 GB, free: 62.19 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/6.044, allocations: 2.068 MB / 3.339 GB, free: 59.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/6.044, allocations: 12 kB / 3.339 GB, free: 59.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/6.044, allocations: 96.61 kB / 3.339 GB, free: 59.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/6.044, allocations: 8 kB / 3.339 GB, free: 59.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/6.044, allocations: 16 kB / 3.339 GB, free: 59.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/6.044, allocations: 15.94 kB / 3.339 GB, free: 59.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/6.044, allocations: 4 kB / 3.339 GB, free: 59.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/6.045, allocations: 1.294 MB / 3.341 GB, free: 58.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/6.046, allocations: 235.8 kB / 3.341 GB, free: 58 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/6.046, allocations: 16 kB / 3.341 GB, free: 57.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005737/6.046, allocations: 52.02 kB / 3.341 GB, free: 57.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.673e-05/6.047, allocations: 51.84 kB / 3.341 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/6.047, allocations: 16 kB / 3.341 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006083/6.047, allocations: 0.6278 MB / 3.342 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/6.047, allocations: 0 / 3.342 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001344/6.049, allocations: 447.6 kB / 3.342 GB, free: 56.8 MB / 0.7136 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.004101/6.053, allocations: 5.578 MB / 3.348 GB, free: 50.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007339/6.053, allocations: 446.3 kB / 3.348 GB, free: 50.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/6.053, allocations: 448 / 3.348 GB, free: 50.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003103/6.054, allocations: 241.1 kB / 3.348 GB, free: 50.24 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/6.056, allocations: 480.7 kB / 3.349 GB, free: 49.78 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005605/6.061, allocations: 6.069 MB / 3.355 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/6.062, allocations: 1.028 MB / 3.356 GB, free: 42.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007256/6.062, allocations: 178.9 kB / 3.356 GB, free: 42.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/6.063, allocations: 299.3 kB / 3.356 GB, free: 42.01 MB / 0.7136 GB Notification: Performance of SimCode: time 7.71e-07/6.063, allocations: 0 / 3.356 GB, free: 42.01 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5032/6.566, allocations: 53.67 MB / 3.408 GB, free: 116.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/6.566, allocations: 236.6 kB / 3.409 GB, free: 115.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.81/10.38, allocations: 2.875 kB / 3.409 GB, free: 115.9 MB / 0.7136 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)