Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.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.Examples.OneRoom,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneRoom",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.001118/0.001118, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 193.6 kB / 16.14 MB, free: 6.707 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.158/1.158, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001863/0.001863, allocations: 278.8 kB / 290.2 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 12.85/12.85, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 93.58 kB / 0.5946 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1842, allocations: 86.97 MB / 0.6795 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.702/0.8863, allocations: 211.4 MB / 0.886 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01466/0.901, allocations: 10.32 MB / 0.8961 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.903, allocations: 34.38 kB / 0.8961 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.905, allocations: 0.7294 MB / 0.8968 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006966/0.912, allocations: 2.725 MB / 0.8995 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003529/0.9156, allocations: 1.286 MB / 0.9007 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005081/0.9206, allocations: 4.656 MB / 0.9053 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.9221, allocations: 0.8713 MB / 0.9061 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002194/0.9243, allocations: 0.9726 MB / 0.9071 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002056/0.9264, allocations: 1.124 MB / 0.9082 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.9265, allocations: 68 kB / 0.9082 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005665/0.9322, allocations: 3.199 MB / 0.9114 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004621/0.9327, allocations: 450.6 kB / 0.9118 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007568/0.9335, allocations: 0.6726 MB / 0.9124 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004206/0.9377, allocations: 2.937 MB / 0.9153 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.9377, allocations: 0 / 0.9153 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of FrontEnd: time 8.02e-07/0.9377, allocations: 0 / 0.9153 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.9377, allocations: 0 / 0.9153 GB, free: 6.398 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.003628/0.9413, allocations: 1.792 MB / 0.9171 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.9414, allocations: 12.03 kB / 0.9171 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001695/0.9416, allocations: 156 kB / 0.9172 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002904/0.9445, allocations: 422 kB / 0.9176 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.9457, allocations: 0.8627 MB / 0.9185 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/0.9457, allocations: 74 kB / 0.9185 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.9459, allocations: 88 kB / 0.9186 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.9477, allocations: 1.202 MB / 0.9198 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.9477, allocations: 7.906 kB / 0.9198 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.34e-05/0.9478, allocations: 39.98 kB / 0.9198 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.819e-05/0.9479, allocations: 57.92 kB / 0.9199 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.9496, allocations: 1.073 MB / 0.9209 GB, free: 496 kB / 0.6231 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.004809/0.9544, allocations: 4.723 MB / 0.9256 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.9557, allocations: 0.9919 MB / 0.9265 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008985/0.9567, allocations: 0.5636 MB / 0.9271 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000571/0.9572, allocations: 0.6811 MB / 0.9277 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.9573, allocations: 47.22 kB / 0.9278 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 1.854e-06/0.9573, allocations: 0 / 0.9278 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of matching and sorting (n=83): time 0.003917/0.9612, allocations: 2.292 MB / 0.93 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.9613, allocations: 60.41 kB / 0.9301 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/0.9619, allocations: 0.6488 MB / 0.9307 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.086e-05/0.962, allocations: 41.7 kB / 0.9308 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.9623, allocations: 456 kB / 0.9312 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.9625, allocations: 295.7 kB / 0.9315 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.9627, allocations: 134.6 kB / 0.9316 GB, free: 4.887 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.9628, allocations: 390.7 kB / 0.932 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.9633, allocations: 325.8 kB / 0.9323 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/0.9638, allocations: 430.5 kB / 0.9327 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.9649, allocations: 0.7807 MB / 0.9335 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.9649, allocations: 4 kB / 0.9335 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001361/0.9663, allocations: 0.9503 MB / 0.9344 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.9663, allocations: 4 kB / 0.9344 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.9663, allocations: 4 kB / 0.9344 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.9665, allocations: 56.77 kB / 0.9345 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.9672, allocations: 159.7 kB / 0.9346 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004057/0.9676, allocations: 0.6072 MB / 0.9352 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008663/0.9685, allocations: 107.7 kB / 0.9353 GB, free: 1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.934e-05/0.9685, allocations: 28 kB / 0.9353 GB, free: 0.9727 MB / 0.6387 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003694/0.9689, allocations: 307.5 kB / 0.9356 GB, free: 0.6641 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.9691, allocations: 90.97 kB / 0.9357 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.9705, allocations: 0.9295 MB / 0.9366 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.9705, allocations: 8 kB / 0.9366 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.9705, allocations: 0 / 0.9366 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001114/0.9716, allocations: 0.9348 MB / 0.9375 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002733/0.9744, allocations: 2.115 MB / 0.9396 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.9744, allocations: 3.938 kB / 0.9396 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008731/0.9752, allocations: 191.8 kB / 0.9398 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.9753, allocations: 7.984 kB / 0.9398 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.003e-05/0.9753, allocations: 23.94 kB / 0.9398 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.9753, allocations: 0 / 0.9398 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.9753, allocations: 0 / 0.9398 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.9771, allocations: 1.39 MB / 0.9412 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/0.9774, allocations: 251.9 kB / 0.9414 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.9775, allocations: 19.94 kB / 0.9414 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007661/0.9783, allocations: 84.72 kB / 0.9415 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.9784, allocations: 48.92 kB / 0.9416 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/0.9785, allocations: 31.98 kB / 0.9416 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004618/0.9789, allocations: 459 kB / 0.942 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.312e-06/0.979, allocations: 0 / 0.942 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007193/0.9797, allocations: 323.9 kB / 0.9423 GB, free: 9.641 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * 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.002174/0.9819, allocations: 2.042 MB / 0.9443 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.983, allocations: 0.809 MB / 0.9451 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.983, allocations: 0.5 kB / 0.9451 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005544/0.9836, allocations: 445.5 kB / 0.9455 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.9858, allocations: 0.5616 MB / 0.9461 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.9958, allocations: 8.206 MB / 0.9541 GB, free: 13.35 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005978/0.9965, allocations: 1.124 MB / 0.9552 GB, free: 12.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009749/0.9975, allocations: 251.7 kB / 0.9554 GB, free: 11.95 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004923/0.998, allocations: 387.3 kB / 0.9558 GB, free: 11.57 MB / 0.67 GB Notification: Performance of SimCode: time 6.81e-07/0.998, allocations: 4 kB / 0.9558 GB, free: 11.56 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.59/3.588, allocations: 26.78 MB / 0.982 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/3.588, allocations: 235 kB / 0.9822 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/5.806, allocations: 8.062 kB / 0.9822 GB, free: 0.9375 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneRoom.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)