Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.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.ThreeRoomsContam,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContam",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.7147/0.7147, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 186.4 kB / 187.3 MB, free: 11.89 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.339/1.339, allocations: 221.3 MB / 441.4 MB, free: 4.625 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.0009236/0.0009235, allocations: 94.23 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001772/0.001772, allocations: 278.9 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.533e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4078, allocations: 82.76 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.875/4.282, allocations: 1.895 GB / 2.66 GB, free: 111.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001882/4.283, allocations: 88.44 kB / 2.66 GB, free: 111.5 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 5.406/9.688, allocations: 1.667 GB / 4.327 GB, free: 77.19 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.224e-06/9.688, allocations: 0 / 4.327 GB, free: 77.19 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001769/9.689, allocations: 66.16 kB / 4.327 GB, free: 77.18 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.01211/9.701, allocations: 3.242 MB / 4.33 GB, free: 75.66 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/9.701, allocations: 7.094 kB / 4.33 GB, free: 75.66 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001104/9.702, allocations: 346.6 kB / 4.33 GB, free: 75.61 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006093/9.708, allocations: 0.7969 MB / 4.331 GB, free: 75.46 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004282/9.712, allocations: 1.665 MB / 4.333 GB, free: 74.96 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/9.712, allocations: 188.9 kB / 4.333 GB, free: 74.95 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007908/9.713, allocations: 258.2 kB / 4.333 GB, free: 74.94 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00522/9.719, allocations: 2.964 MB / 4.336 GB, free: 74.61 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.319e-05/9.719, allocations: 7.062 kB / 4.336 GB, free: 74.61 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/9.719, allocations: 102.4 kB / 4.336 GB, free: 74.61 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.993e-05/9.719, allocations: 120 kB / 4.336 GB, free: 74.6 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004075/9.723, allocations: 2.649 MB / 4.339 GB, free: 74.19 MB / 0.7605 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.01388/9.737, allocations: 12.36 MB / 4.351 GB, free: 62.81 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002719/9.74, allocations: 2.061 MB / 4.353 GB, free: 60.69 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/9.741, allocations: 1.21 MB / 4.354 GB, free: 59.49 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009606/9.742, allocations: 1.38 MB / 4.355 GB, free: 57.82 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/9.742, allocations: 56.56 kB / 4.356 GB, free: 57.75 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=197): time 4.237e-06/9.742, allocations: 0 / 4.356 GB, free: 57.75 MB / 0.7605 GB Notification: Performance of matching and sorting (n=197): time 0.003639/9.746, allocations: 1.988 MB / 4.357 GB, free: 55.76 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/9.746, allocations: 73.44 kB / 4.358 GB, free: 55.68 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/9.748, allocations: 1.114 MB / 4.359 GB, free: 54.55 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001923/9.748, allocations: 65.7 kB / 4.359 GB, free: 54.48 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005681/9.749, allocations: 0.9555 MB / 4.36 GB, free: 53.52 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005589/9.749, allocations: 0.6776 MB / 4.36 GB, free: 52.83 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/9.75, allocations: 34.91 kB / 4.36 GB, free: 52.8 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001213/9.75, allocations: 373.9 kB / 4.361 GB, free: 52.43 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/9.751, allocations: 0.7498 MB / 4.361 GB, free: 51.68 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/9.752, allocations: 1.005 MB / 4.362 GB, free: 50.61 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/9.753, allocations: 0.8933 MB / 4.363 GB, free: 49.72 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/9.753, allocations: 4 kB / 4.363 GB, free: 49.71 MB / 0.7605 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003734/9.757, allocations: 2.103 MB / 4.365 GB, free: 47.61 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/9.757, allocations: 8 kB / 4.365 GB, free: 47.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/9.757, allocations: 0 / 4.365 GB, free: 47.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.363e-05/9.757, allocations: 14.25 kB / 4.365 GB, free: 47.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/9.759, allocations: 379.4 kB / 4.366 GB, free: 47.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.265e-05/9.759, allocations: 11.98 kB / 4.366 GB, free: 47.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/9.762, allocations: 290.7 kB / 4.366 GB, free: 46.93 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001826/9.762, allocations: 63.98 kB / 4.366 GB, free: 46.87 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 219 * 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.0003699/9.762, allocations: 204.8 kB / 4.366 GB, free: 46.67 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006355/9.763, allocations: 197.6 kB / 4.366 GB, free: 46.47 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003938/9.767, allocations: 2.209 MB / 4.369 GB, free: 44.26 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/9.767, allocations: 22.88 kB / 4.369 GB, free: 44.24 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/9.767, allocations: 0 / 4.369 GB, free: 44.24 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002374/9.769, allocations: 1.811 MB / 4.37 GB, free: 42.41 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009122/9.778, allocations: 5.05 MB / 4.375 GB, free: 37.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/9.778, allocations: 0 / 4.375 GB, free: 37.25 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/9.78, allocations: 435 kB / 4.376 GB, free: 36.83 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.392e-05/9.78, allocations: 16 kB / 4.376 GB, free: 36.82 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/9.781, allocations: 51.97 kB / 4.376 GB, free: 36.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-05/9.781, allocations: 19.89 kB / 4.376 GB, free: 36.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/9.781, allocations: 0 / 4.376 GB, free: 36.75 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004659/9.785, allocations: 3.645 MB / 4.379 GB, free: 32.99 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/9.787, allocations: 0.5061 MB / 4.38 GB, free: 32.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006577/9.788, allocations: 39.98 kB / 4.38 GB, free: 32.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002459/9.79, allocations: 207.3 kB / 4.38 GB, free: 32.24 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/9.79, allocations: 117.8 kB / 4.38 GB, free: 32.12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/9.79, allocations: 71.97 kB / 4.38 GB, free: 32.05 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001441/9.792, allocations: 0.8708 MB / 4.381 GB, free: 31.19 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.9e-07/9.792, allocations: 0 / 4.381 GB, free: 31.19 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003827/9.796, allocations: 1.228 MB / 4.382 GB, free: 29.96 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (201): * Single equations (assignments): 201 * 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.009737/9.805, allocations: 8.965 MB / 4.391 GB, free: 20.66 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002801/9.808, allocations: 1.915 MB / 4.393 GB, free: 18.75 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/9.808, allocations: 0 / 4.393 GB, free: 18.75 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/9.809, allocations: 1.043 MB / 4.394 GB, free: 17.71 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005334/9.815, allocations: 1.178 MB / 4.395 GB, free: 16.56 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009262/9.824, allocations: 5.12 MB / 4.4 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/9.826, allocations: 1.875 MB / 4.402 GB, free: 9.5 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002962/9.829, allocations: 0.6196 MB / 4.403 GB, free: 8.902 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/9.83, allocations: 0.9796 MB / 4.404 GB, free: 7.926 MB / 0.7605 GB Notification: Performance of SimCode: time 7.91e-07/9.83, allocations: 0 / 4.404 GB, free: 7.926 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6739/10.5, allocations: 123.8 MB / 4.524 GB, free: 81.64 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/10.5, allocations: 211.8 kB / 4.525 GB, free: 81.41 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.192/16.7, allocations: 4 kB / 4.525 GB, free: 81.41 MB / 0.7761 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)