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.001108/0.001108, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.001442/0.001442, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.446/2.446, allocations: 409.4 MB / 0.684 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003467, allocations: 8 kB / 0.8378 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6984/0.6987, allocations: 146.8 MB / 0.9811 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.203/0.9018, allocations: 194.6 MB / 1.171 GB, free: 3.055 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01283/0.9147, allocations: 9.537 MB / 1.181 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.9159, allocations: 35.75 kB / 1.181 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.9176, allocations: 0.5358 MB / 1.181 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005525/0.9232, allocations: 2.111 MB / 1.183 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002869/0.9261, allocations: 0.9678 MB / 1.184 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004591/0.9307, allocations: 3.873 MB / 1.188 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.9319, allocations: 0.7531 MB / 1.189 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00179/0.9337, allocations: 0.9727 MB / 1.19 GB, free: 212 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.9352, allocations: 1.039 MB / 1.191 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.9353, allocations: 56 kB / 1.191 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003593/0.9389, allocations: 1.348 MB / 1.192 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004468/0.9394, allocations: 426.7 kB / 1.192 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003845/0.9398, allocations: 285.1 kB / 1.193 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002438/0.9422, allocations: 1.835 MB / 1.194 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.9423, allocations: 4 kB / 1.194 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9423, allocations: 4 kB / 1.194 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.983e-05/0.9423, allocations: 0 / 1.194 GB, free: 11.21 MB / 0.9512 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.003533/0.9458, allocations: 1.558 MB / 1.196 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.9459, allocations: 12.03 kB / 1.196 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001867/0.9461, allocations: 156 kB / 1.196 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00284/0.9489, allocations: 434 kB / 1.196 GB, free: 9 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.9502, allocations: 0.8206 MB / 1.197 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.9503, allocations: 66 kB / 1.197 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.9505, allocations: 99.98 kB / 1.197 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.9525, allocations: 1.198 MB / 1.199 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.9525, allocations: 0 / 1.199 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.9526, allocations: 47.98 kB / 1.199 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.81e-05/0.9527, allocations: 49.98 kB / 1.199 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.9545, allocations: 1.066 MB / 1.2 GB, free: 5.582 MB / 0.9512 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.005364/0.9599, allocations: 4.739 MB / 1.204 GB, free: 456 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.9614, allocations: 0.9841 MB / 1.205 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009541/0.9623, allocations: 0.5558 MB / 1.206 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000621/0.963, allocations: 0.6733 MB / 1.207 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.963, allocations: 47.22 kB / 1.207 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=82): time 2.515e-06/0.963, allocations: 0 / 1.207 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=83): time 0.004368/0.9674, allocations: 2.296 MB / 1.209 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.9674, allocations: 64.39 kB / 1.209 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007835/0.9682, allocations: 0.6295 MB / 1.21 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.313e-05/0.9683, allocations: 41.7 kB / 1.21 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.9687, allocations: 460 kB / 1.21 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/0.9689, allocations: 291.7 kB / 1.21 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.969, allocations: 20 kB / 1.21 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.9692, allocations: 394.7 kB / 1.211 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/0.9697, allocations: 313.8 kB / 1.211 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000599/0.9703, allocations: 418.5 kB / 1.211 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006138/0.9709, allocations: 394.8 kB / 1.212 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9709, allocations: 0 / 1.212 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001549/0.9725, allocations: 0.9386 MB / 1.213 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.9725, allocations: 8 kB / 1.213 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.9725, allocations: 0 / 1.213 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002608/0.9728, allocations: 60.83 kB / 1.213 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006891/0.9735, allocations: 151.8 kB / 1.213 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000455/0.974, allocations: 0.615 MB / 1.213 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008907/0.9749, allocations: 107.8 kB / 1.214 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/0.9749, allocations: 27.94 kB / 1.214 GB, free: 6.648 MB / 0.9669 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 (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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004398/0.9754, allocations: 311.1 kB / 1.214 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.9755, allocations: 94.88 kB / 1.214 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.9771, allocations: 0.9207 MB / 1.215 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.9772, allocations: 8 kB / 1.215 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.9772, allocations: 0 / 1.215 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001211/0.9784, allocations: 0.9348 MB / 1.216 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/0.9815, allocations: 2.115 MB / 1.218 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.9815, allocations: 3.984 kB / 1.218 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009477/0.9825, allocations: 183.8 kB / 1.218 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/0.9825, allocations: 4 kB / 1.218 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.289e-05/0.9826, allocations: 23.94 kB / 1.218 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.9826, allocations: 4 kB / 1.218 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9826, allocations: 0 / 1.218 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.9846, allocations: 1.376 MB / 1.219 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004188/0.985, allocations: 251.9 kB / 1.22 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.9852, allocations: 23.94 kB / 1.22 GB, free: 256 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008002/0.986, allocations: 91.72 kB / 1.22 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.9861, allocations: 52.92 kB / 1.22 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.444e-05/0.9862, allocations: 23.98 kB / 1.22 GB, free: 88 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005411/0.9867, allocations: 451 kB / 1.22 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9867, allocations: 3.938 kB / 1.22 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008623/0.9876, allocations: 316 kB / 1.221 GB, free: 15.34 MB / 0.9825 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.002466/0.99, allocations: 2.034 MB / 1.223 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.9914, allocations: 0.8051 MB / 1.223 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9914, allocations: 0 / 1.223 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006147/0.9921, allocations: 438 kB / 1.224 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/0.9945, allocations: 0.5719 MB / 1.224 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009688/1.004, allocations: 6.241 MB / 1.23 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007494/1.005, allocations: 1.128 MB / 1.232 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00111/1.006, allocations: 255.8 kB / 1.232 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005763/1.007, allocations: 391.2 kB / 1.232 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/1.007, allocations: 0 / 1.232 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5599/1.567, allocations: 27.7 MB / 1.259 GB, free: 265.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/1.567, allocations: 212.5 kB / 1.259 GB, free: 265.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/4.025, allocations: 4.75 kB / 1.259 GB, free: 265.5 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