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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001441, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 196.1 kB / 16.53 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 222.9 MB / 240.2 MB, free: 4.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002115/0.002115, allocations: 295 kB / 290.7 MB, free: 1.812 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8978/0.8978, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 97.59 kB / 0.5953 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1525, allocations: 86.97 MB / 0.6803 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam): time 0.5637/0.7162, allocations: 284.2 MB / 0.9578 GB, free: 10.95 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02391/0.7402, allocations: 17.31 MB / 0.9748 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003261/0.7435, allocations: 79.62 kB / 0.9748 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004403/0.7479, allocations: 1.705 MB / 0.9765 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01394/0.7619, allocations: 5.903 MB / 0.9823 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007126/0.769, allocations: 2.792 MB / 0.985 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.007784/0.7768, allocations: 6.576 MB / 0.9914 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003851/0.7807, allocations: 2.565 MB / 0.9939 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004484/0.7852, allocations: 2.445 MB / 0.9963 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004385/0.7896, allocations: 2.4 MB / 0.9986 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.00093/0.7906, allocations: 300 kB / 0.9989 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01145/0.802, allocations: 5.939 MB / 1.005 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001758/0.8038, allocations: 1.298 MB / 1.006 GB, free: 9.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003071/0.8069, allocations: 1.708 MB / 1.008 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.8178, allocations: 6.389 MB / 1.014 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.8178, allocations: 0 / 1.014 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8178, allocations: 0 / 1.014 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.971e-05/0.8179, allocations: 8 kB / 1.014 GB, free: 1.355 MB / 0.7169 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.008283/0.8262, allocations: 3.752 MB / 1.018 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.8262, allocations: 8.031 kB / 1.018 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004024/0.8266, allocations: 349.9 kB / 1.018 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005186/0.8318, allocations: 0.8121 MB / 1.019 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002606/0.8345, allocations: 1.645 MB / 1.02 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.8346, allocations: 184.8 kB / 1.02 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003306/0.8349, allocations: 243.9 kB / 1.021 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004699/0.8396, allocations: 3.098 MB / 1.024 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.95e-05/0.8397, allocations: 4 kB / 1.024 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002265/0.8399, allocations: 95.98 kB / 1.024 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001397/0.8401, allocations: 140.7 kB / 1.024 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004652/0.8447, allocations: 2.837 MB / 1.027 GB, free: 3.941 MB / 0.7325 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.01346/0.8582, allocations: 12.19 MB / 1.039 GB, free: 6.699 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003203/0.8614, allocations: 2.276 MB / 1.041 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/0.8632, allocations: 1.253 MB / 1.042 GB, free: 3.102 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/0.8644, allocations: 1.371 MB / 1.043 GB, free: 1.438 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.8645, allocations: 56.56 kB / 1.043 GB, free: 1.371 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=197): time 3.757e-06/0.8645, allocations: 0 / 1.043 GB, free: 1.371 MB / 0.7481 GB Notification: Performance of matching and sorting (n=197): time 0.004907/0.8694, allocations: 2.821 MB / 1.046 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.8694, allocations: 73.41 kB / 1.046 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.8711, allocations: 1.316 MB / 1.048 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.8712, allocations: 61.7 kB / 1.048 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006091/0.8718, allocations: 0.9555 MB / 1.049 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005539/0.8724, allocations: 0.6775 MB / 1.049 GB, free: 11.42 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004464/0.8728, allocations: 303.4 kB / 1.05 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.74e-05/0.8729, allocations: 301.1 kB / 1.05 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.8742, allocations: 0.7808 MB / 1.051 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.8756, allocations: 0.9725 MB / 1.052 GB, free: 9.027 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/0.8784, allocations: 1.873 MB / 1.053 GB, free: 7.121 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.8785, allocations: 0 / 1.053 GB, free: 7.121 MB / 0.7637 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003445/0.8819, allocations: 2.159 MB / 1.055 GB, free: 4.953 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.8819, allocations: 11.94 kB / 1.055 GB, free: 4.941 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.882, allocations: 7.984 kB / 1.055 GB, free: 4.934 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.882, allocations: 11.94 kB / 1.056 GB, free: 4.922 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.8836, allocations: 367.9 kB / 1.056 GB, free: 4.562 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.619e-05/0.8836, allocations: 16 kB / 1.056 GB, free: 4.547 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.8852, allocations: 150.3 kB / 1.056 GB, free: 4.398 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.8853, allocations: 59.98 kB / 1.056 GB, free: 4.34 MB / 0.7637 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009467/0.8863, allocations: 0.6001 MB / 1.057 GB, free: 3.73 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003403/0.8866, allocations: 193.8 kB / 1.057 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003976/0.8906, allocations: 2.26 MB / 1.059 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.8907, allocations: 23.94 kB / 1.059 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.8907, allocations: 0 / 1.059 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2604/1.151, allocations: 1.864 MB / 1.061 GB, free: 293.1 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007616/1.159, allocations: 5.101 MB / 1.066 GB, free: 291.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/1.159, allocations: 2.688 kB / 1.066 GB, free: 291.4 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/1.161, allocations: 425.6 kB / 1.066 GB, free: 291.4 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.431e-05/1.161, allocations: 12.92 kB / 1.066 GB, free: 291.4 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/1.161, allocations: 53.11 kB / 1.066 GB, free: 291.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/1.161, allocations: 8.5 kB / 1.066 GB, free: 291.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.161, allocations: 7.406 kB / 1.066 GB, free: 291.4 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004427/1.165, allocations: 3.405 MB / 1.07 GB, free: 290 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007739/1.166, allocations: 0.4995 MB / 1.07 GB, free: 289.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002575/1.166, allocations: 43.12 kB / 1.07 GB, free: 289.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.168, allocations: 49.95 kB / 1.07 GB, free: 289.7 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/1.168, allocations: 136.2 kB / 1.07 GB, free: 289.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/1.168, allocations: 61.38 kB / 1.07 GB, free: 289.7 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001088/1.169, allocations: 0.907 MB / 1.071 GB, free: 289.3 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.2e-07/1.169, allocations: 0 / 1.071 GB, free: 289.3 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001543/1.171, allocations: 0.8519 MB / 1.072 GB, free: 289.2 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * 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 (201): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005035/1.176, allocations: 4.219 MB / 1.076 GB, free: 287.1 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006205/1.182, allocations: 3.15 MB / 1.079 GB, free: 286.4 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.182, allocations: 7.938 kB / 1.079 GB, free: 286.4 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001728/1.184, allocations: 1.082 MB / 1.08 GB, free: 286 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005074/1.189, allocations: 1.26 MB / 1.082 GB, free: 285.7 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/1.209, allocations: 17.87 MB / 1.099 GB, free: 276.2 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/1.21, allocations: 1.829 MB / 1.101 GB, free: 275.3 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00235/1.213, allocations: 0.6264 MB / 1.102 GB, free: 275.2 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/1.214, allocations: 0.9672 MB / 1.102 GB, free: 274.5 MB / 0.7637 GB Notification: Performance of SimCode: time 7.42e-07/1.214, allocations: 0 / 1.102 GB, free: 274.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.996/6.21, allocations: 60.63 MB / 1.162 GB, free: 217.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/21.84, allocations: 6.438 kB / 1.162 GB, free: 217.5 MB / 0.7637 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/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)