Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_latest_Buildings_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.001591/0.001592, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002621/0.002621, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.51/2.51, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.933/4.933, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006355/0.0006358, allocations: 12 kB / 0.8375 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714/1.715, allocations: 146.8 MB / 0.9809 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.3892/2.104, allocations: 176.1 MB / 1.153 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02702/2.132, allocations: 9.769 MB / 1.162 GB, free: 11.96 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003455/2.135, allocations: 31.81 kB / 1.162 GB, free: 11.93 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005041/2.14, allocations: 0.7466 MB / 1.163 GB, free: 11.18 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01609/2.156, allocations: 2.29 MB / 1.165 GB, free: 8.879 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.008023/2.164, allocations: 1.108 MB / 1.166 GB, free: 7.777 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008509/2.173, allocations: 1.812 MB / 1.168 GB, free: 5.965 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003684/2.177, allocations: 0.7532 MB / 1.169 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005149/2.182, allocations: 0.8839 MB / 1.17 GB, free: 4.309 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003157/2.185, allocations: 0.6655 MB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0007036/2.186, allocations: 56 kB / 1.171 GB, free: 3.586 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007629/2.194, allocations: 1.096 MB / 1.172 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001781/2.196, allocations: 394.9 kB / 1.172 GB, free: 2.102 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001656/2.197, allocations: 285.1 kB / 1.172 GB, free: 1.816 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006794/2.204, allocations: 1.637 MB / 1.174 GB, free: 180 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/2.204, allocations: 8 kB / 1.174 GB, free: 172 kB / 0.92 GB Notification: Performance of FrontEnd: time 5.901e-06/2.204, allocations: 0 / 1.174 GB, free: 172 kB / 0.92 GB Notification: Performance of Transformations before backend: time 7.828e-05/2.204, allocations: 0 / 1.174 GB, free: 172 kB / 0.92 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.007191/2.212, allocations: 1.507 MB / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001129/2.212, allocations: 16.02 kB / 1.175 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006851/2.212, allocations: 148.1 kB / 1.176 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00526/2.218, allocations: 434 kB / 1.176 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003524/2.221, allocations: 0.8244 MB / 1.177 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/2.221, allocations: 70 kB / 1.177 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002922/2.222, allocations: 96 kB / 1.177 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003671/2.225, allocations: 1.186 MB / 1.178 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.182e-05/2.225, allocations: 0 / 1.178 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/2.226, allocations: 47.98 kB / 1.178 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/2.226, allocations: 53.97 kB / 1.178 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003198/2.229, allocations: 1.066 MB / 1.179 GB, free: 10.6 MB / 0.9356 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.0118/2.241, allocations: 4.739 MB / 1.184 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/2.243, allocations: 0.9802 MB / 1.185 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/2.244, allocations: 0.681 MB / 1.185 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/2.244, allocations: 43.22 kB / 1.185 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 5.62e-06/2.244, allocations: 0 / 1.185 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of matching and sorting (n=83): time 0.008201/2.253, allocations: 2.285 MB / 1.188 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.109e-05/2.253, allocations: 60.41 kB / 1.188 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/2.254, allocations: 0.6334 MB / 1.188 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/2.254, allocations: 41.7 kB / 1.188 GB, free: 480 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005318/2.255, allocations: 464 kB / 1.189 GB, free: 8 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006066/2.256, allocations: 295.6 kB / 1.189 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/2.256, allocations: 16 kB / 1.189 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0003883/2.256, allocations: 390.7 kB / 1.19 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008561/2.257, allocations: 317.8 kB / 1.19 GB, free: 15 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009683/2.258, allocations: 426.5 kB / 1.19 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009865/2.259, allocations: 374.9 kB / 1.191 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.768e-06/2.259, allocations: 0 / 1.191 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002757/2.262, allocations: 0.9463 MB / 1.192 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/2.262, allocations: 7.938 kB / 1.192 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/2.262, allocations: 4 kB / 1.192 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005864/2.262, allocations: 77.06 kB / 1.192 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/2.263, allocations: 147.8 kB / 1.192 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008582/2.264, allocations: 0.642 MB / 1.192 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/2.266, allocations: 103.9 kB / 1.192 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.25e-05/2.266, allocations: 27.94 kB / 1.192 GB, free: 12.2 MB / 0.9512 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 (89): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.001018/2.267, allocations: 310.1 kB / 1.193 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002854/2.268, allocations: 90.88 kB / 1.193 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/2.27, allocations: 0.909 MB / 1.194 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/2.27, allocations: 12 kB / 1.194 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/2.27, allocations: 7.984 kB / 1.194 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001878/2.272, allocations: 0.9231 MB / 1.195 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005481/2.278, allocations: 2.106 MB / 1.197 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/2.278, allocations: 0 / 1.197 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/2.279, allocations: 187.8 kB / 1.197 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.499e-05/2.279, allocations: 0 / 1.197 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.388e-05/2.279, allocations: 27.94 kB / 1.197 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.351e-05/2.279, allocations: 4 kB / 1.197 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/2.279, allocations: 0 / 1.197 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003388/2.283, allocations: 1.364 MB / 1.198 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/2.284, allocations: 248 kB / 1.199 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/2.284, allocations: 20 kB / 1.199 GB, free: 5.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/2.285, allocations: 93.16 kB / 1.199 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/2.285, allocations: 52.92 kB / 1.199 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.549e-05/2.286, allocations: 27.98 kB / 1.199 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009698/2.287, allocations: 447 kB / 1.199 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/2.287, allocations: 4 kB / 1.199 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00179/2.288, allocations: 323.9 kB / 1.199 GB, free: 4.926 MB / 0.9512 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 (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.004096/2.292, allocations: 2.022 MB / 1.201 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002482/2.295, allocations: 0.8093 MB / 1.202 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/2.295, allocations: 0 / 1.202 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009673/2.296, allocations: 429.6 kB / 1.203 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004514/2.301, allocations: 0.5494 MB / 1.203 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01905/2.32, allocations: 7.405 MB / 1.21 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/2.321, allocations: 1.147 MB / 1.212 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002188/2.323, allocations: 247.7 kB / 1.212 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009388/2.324, allocations: 387.3 kB / 1.212 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of SimCode: time 2.535e-06/2.324, allocations: 3.938 kB / 1.212 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0882/2.412, allocations: 27.67 MB / 1.239 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003107/2.413, allocations: 215.1 kB / 1.239 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.379/6.791, allocations: 0 / 1.239 GB, free: 12.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat does not exist to compare? outputFormat=mat