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.8293/0.8293, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001092/0.001092, allocations: 183.8 kB / 182.2 MB, free: 9.469 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.504/1.504, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0009343/0.0009344, allocations: 84.11 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001822/0.001822, allocations: 283.9 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.187e-05/2.198e-05, allocations: 4 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4834/0.4834, allocations: 82.76 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.02/5.503, allocations: 1.895 GB / 2.652 GB, free: 123.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/5.503, allocations: 86.52 kB / 2.652 GB, free: 123.9 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 6.265/11.77, allocations: 1.65 GB / 4.302 GB, free: 67.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.106e-06/11.77, allocations: 1.75 kB / 4.302 GB, free: 67.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001795/11.77, allocations: 70.41 kB / 4.302 GB, free: 67.56 MB / 0.7448 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.01183/11.78, allocations: 3.246 MB / 4.305 GB, free: 66.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/11.78, allocations: 7.125 kB / 4.305 GB, free: 66.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005831/11.79, allocations: 0.8012 MB / 4.306 GB, free: 65.9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004337/11.79, allocations: 1.661 MB / 4.307 GB, free: 65.4 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.131e-05/11.79, allocations: 75.94 kB / 4.307 GB, free: 65.4 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005085/11.79, allocations: 157.9 kB / 4.308 GB, free: 65.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005006/11.8, allocations: 2.337 MB / 4.31 GB, free: 65.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004333/11.8, allocations: 2.628 MB / 4.312 GB, free: 65.06 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.567e-05/11.8, allocations: 3.938 kB / 4.312 GB, free: 65.05 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002071/11.8, allocations: 3.969 kB / 4.313 GB, free: 65.05 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/11.8, allocations: 124.7 kB / 4.313 GB, free: 65.05 MB / 0.7448 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.01467/11.82, allocations: 12.11 MB / 4.324 GB, free: 57.88 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002851/11.82, allocations: 2.606 MB / 4.327 GB, free: 56.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/11.82, allocations: 1.181 MB / 4.328 GB, free: 56.86 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009526/11.82, allocations: 1.378 MB / 4.329 GB, free: 55.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/11.82, allocations: 56.97 kB / 4.33 GB, free: 55.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=197): time 5.05e-06/11.82, allocations: 0 / 4.33 GB, free: 55.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=197): time 0.003654/11.82, allocations: 2.001 MB / 4.331 GB, free: 55.16 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/11.83, allocations: 74.28 kB / 4.332 GB, free: 55.09 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/11.83, allocations: 0.8669 MB / 4.332 GB, free: 54.95 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001538/11.83, allocations: 29.27 kB / 4.332 GB, free: 54.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006394/11.83, allocations: 0.9497 MB / 4.333 GB, free: 54.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006588/11.83, allocations: 0.6514 MB / 4.334 GB, free: 54.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.326e-05/11.83, allocations: 2.844 kB / 4.334 GB, free: 54.05 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001441/11.83, allocations: 374.3 kB / 4.334 GB, free: 53.75 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/11.83, allocations: 0.7666 MB / 4.335 GB, free: 53.74 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/11.83, allocations: 0.9991 MB / 4.336 GB, free: 53.54 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/11.83, allocations: 0.9473 MB / 4.337 GB, free: 53.3 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/11.83, allocations: 0 / 4.337 GB, free: 53.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003547/11.84, allocations: 2.099 MB / 4.339 GB, free: 52.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/11.84, allocations: 6.688 kB / 4.339 GB, free: 52.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/11.84, allocations: 2.781 kB / 4.339 GB, free: 52.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/11.84, allocations: 11.66 kB / 4.339 GB, free: 52.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/11.84, allocations: 393.1 kB / 4.339 GB, free: 52.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/11.84, allocations: 16.88 kB / 4.339 GB, free: 52.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002695/11.84, allocations: 235.6 kB / 4.34 GB, free: 52.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/11.84, allocations: 74.52 kB / 4.34 GB, free: 52.4 MB / 0.7448 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.0003358/11.84, allocations: 130.9 kB / 4.34 GB, free: 52.27 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003472/11.84, allocations: 1.97 MB / 4.342 GB, free: 51.54 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003154/11.84, allocations: 182.7 kB / 4.342 GB, free: 51.45 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003528/11.85, allocations: 2.168 MB / 4.344 GB, free: 50.64 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/11.85, allocations: 18.69 kB / 4.344 GB, free: 50.64 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/11.85, allocations: 8.844 kB / 4.344 GB, free: 50.64 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002472/11.85, allocations: 1.846 MB / 4.346 GB, free: 49.95 MB / 0.7448 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 postOpt removeSimpleEquations (simulation): time 0.008919/11.86, allocations: 5.088 MB / 4.351 GB, free: 47.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/11.86, allocations: 4 kB / 4.351 GB, free: 47.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/11.86, allocations: 453.7 kB / 4.351 GB, free: 46.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-05/11.86, allocations: 17.89 kB / 4.351 GB, free: 46.7 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/11.86, allocations: 38.52 kB / 4.351 GB, free: 46.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.197e-05/11.86, allocations: 8 kB / 4.351 GB, free: 46.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/11.86, allocations: 7.938 kB / 4.351 GB, free: 46.65 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004984/11.87, allocations: 3.681 MB / 4.355 GB, free: 43.24 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001639/11.87, allocations: 0.4997 MB / 4.355 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003435/11.87, allocations: 8 kB / 4.356 GB, free: 42.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/11.87, allocations: 180.1 kB / 4.356 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/11.87, allocations: 121.7 kB / 4.356 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/11.87, allocations: 77.72 kB / 4.356 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0009334/11.87, allocations: 0.6572 MB / 4.357 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/11.87, allocations: 2.938 kB / 4.357 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003355/11.88, allocations: 1.069 MB / 4.358 GB, free: 40.89 MB / 0.7448 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.01138/11.89, allocations: 9.393 MB / 4.367 GB, free: 32.49 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00325/11.89, allocations: 1.943 MB / 4.369 GB, free: 30.69 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/11.89, allocations: 0 / 4.369 GB, free: 30.69 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001433/11.89, allocations: 1.046 MB / 4.37 GB, free: 29.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006005/11.9, allocations: 0.9882 MB / 4.371 GB, free: 29.02 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/11.91, allocations: 5.003 MB / 4.376 GB, free: 24.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002285/11.91, allocations: 1.868 MB / 4.377 GB, free: 23.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003504/11.92, allocations: 0.6124 MB / 4.378 GB, free: 22.71 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001775/11.92, allocations: 0.9645 MB / 4.379 GB, free: 21.84 MB / 0.7448 GB Notification: Performance of SimCode: time 1.543e-06/11.92, allocations: 0 / 4.379 GB, free: 21.84 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.714/12.63, allocations: 81.51 MB / 4.458 GB, free: 84.8 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/12.63, allocations: 187.3 kB / 4.459 GB, free: 84.61 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.923/17.56, allocations: 0 / 4.459 GB, free: 84.61 MB / 0.7605 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)