Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.803/2.803, allocations: 287.5 MB / 302.4 MB, free: 8.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 170.4 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.4 MB / 0.6297 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009546/0.0009544, allocations: 84.23 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.0004872, allocations: 12.16 kB / 0.8659 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2196, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.9754/1.195, allocations: 199 MB / 1.173 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.04175/1.237, allocations: 20.12 MB / 1.192 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003046/1.24, allocations: 43.5 kB / 1.192 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004049/1.244, allocations: 0.8239 MB / 1.193 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0127/1.257, allocations: 3.017 MB / 1.196 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.005076/1.262, allocations: 1.058 MB / 1.197 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01328/1.275, allocations: 7.993 MB / 1.205 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004197/1.279, allocations: 1.722 MB / 1.207 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005853/1.285, allocations: 2.002 MB / 1.209 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006135/1.292, allocations: 2.395 MB / 1.211 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001419/1.293, allocations: 158.6 kB / 1.211 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008828/1.302, allocations: 1.731 MB / 1.213 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.003119/1.305, allocations: 1.26 MB / 1.214 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002233/1.307, allocations: 0.6329 MB / 1.215 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00928/1.317, allocations: 3.955 MB / 1.219 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.317, allocations: 0 / 1.219 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.896e-06/1.317, allocations: 0 / 1.219 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001603/1.317, allocations: 0 / 1.219 GB, free: 6.004 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01493/1.332, allocations: 3.485 MB / 1.222 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/1.332, allocations: 16.02 kB / 1.222 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001411/1.333, allocations: 387.8 kB / 1.222 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007905/1.341, allocations: 0.8198 MB / 1.223 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00734/1.349, allocations: 1.809 MB / 1.225 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002698/1.349, allocations: 209.4 kB / 1.225 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009615/1.35, allocations: 267.9 kB / 1.225 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/1.361, allocations: 3.259 MB / 1.229 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/1.361, allocations: 0 / 1.229 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005236/1.362, allocations: 112 kB / 1.229 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002305/1.362, allocations: 129.4 kB / 1.229 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01568/1.378, allocations: 4.588 MB / 1.233 GB, free: 6.754 MB / 0.7605 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.03011/1.408, allocations: 10.86 MB / 1.244 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/1.42, allocations: 4.84 MB / 1.249 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006869/1.426, allocations: 2.516 MB / 1.251 GB, free: 3.812 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001778/1.428, allocations: 0.8681 MB / 1.252 GB, free: 2.777 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/1.428, allocations: 85.64 kB / 1.252 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=399): time 6.291e-06/1.428, allocations: 0 / 1.252 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of matching and sorting (n=399): time 0.01793/1.446, allocations: 5.991 MB / 1.258 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.338e-05/1.446, allocations: 98.44 kB / 1.258 GB, free: 12.49 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/1.449, allocations: 1.204 MB / 1.259 GB, free: 11.28 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.000599/1.45, allocations: 93.7 kB / 1.259 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008613/1.451, allocations: 0.8094 MB / 1.26 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001982/1.453, allocations: 1.332 MB / 1.261 GB, free: 9.016 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002873/1.453, allocations: 64 kB / 1.261 GB, free: 8.953 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003229/1.453, allocations: 445.1 kB / 1.262 GB, free: 8.512 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004673/1.458, allocations: 1.588 MB / 1.263 GB, free: 6.922 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005137/1.463, allocations: 1.908 MB / 1.265 GB, free: 4.961 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005385/1.469, allocations: 1.89 MB / 1.267 GB, free: 3.062 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/1.469, allocations: 0 / 1.267 GB, free: 3.062 MB / 0.7917 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01203/1.481, allocations: 4.16 MB / 1.271 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/1.481, allocations: 8 kB / 1.271 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/1.481, allocations: 7.984 kB / 1.271 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.549e-05/1.481, allocations: 23.92 kB / 1.271 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006234/1.487, allocations: 0.6865 MB / 1.272 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.037e-05/1.487, allocations: 19.95 kB / 1.272 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005454/1.493, allocations: 365.2 kB / 1.272 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005555/1.493, allocations: 112 kB / 1.272 GB, free: 13.66 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * 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.002195/1.495, allocations: 0.7274 MB / 1.273 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008757/1.496, allocations: 237.2 kB / 1.273 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/1.51, allocations: 4.61 MB / 1.278 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.441e-05/1.51, allocations: 40 kB / 1.278 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/1.51, allocations: 0 / 1.278 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0114/1.522, allocations: 3.942 MB / 1.282 GB, free: 3.996 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02459/1.546, allocations: 8.237 MB / 1.29 GB, free: 11.66 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/1.546, allocations: 0 / 1.29 GB, free: 11.66 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006669/1.553, allocations: 0.6709 MB / 1.29 GB, free: 10.99 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008114/1.554, allocations: 138.5 kB / 1.29 GB, free: 10.85 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000716/1.555, allocations: 79.98 kB / 1.291 GB, free: 10.77 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005991/1.561, allocations: 4.564 MB / 1.295 GB, free: 5.809 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.561, allocations: 3.984 kB / 1.295 GB, free: 5.805 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02078/1.582, allocations: 6.982 MB / 1.302 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002902/1.585, allocations: 0.755 MB / 1.303 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00075/1.585, allocations: 71.98 kB / 1.303 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004528/1.59, allocations: 216.5 kB / 1.303 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008222/1.591, allocations: 238.7 kB / 1.303 GB, free: 13.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004083/1.591, allocations: 108 kB / 1.303 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002042/1.593, allocations: 0.8444 MB / 1.304 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.41e-07/1.593, allocations: 0 / 1.304 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004798/1.598, allocations: 1.077 MB / 1.305 GB, free: 11.44 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02191/1.62, allocations: 7.789 MB / 1.313 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01179/1.632, allocations: 4.02 MB / 1.317 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/1.632, allocations: 0 / 1.317 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.007021/1.639, allocations: 2.541 MB / 1.319 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009279/1.648, allocations: 1.042 MB / 1.32 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05405/1.702, allocations: 19.5 MB / 1.339 GB, free: 7.52 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002605/1.705, allocations: 1.935 MB / 1.341 GB, free: 5.547 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007136/1.712, allocations: 1.223 MB / 1.342 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003542/1.716, allocations: 1.077 MB / 1.343 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of SimCode: time 1.433e-06/1.716, allocations: 3.938 kB / 1.343 GB, free: 3.234 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1895/1.905, allocations: 66.38 MB / 1.408 GB, free: 1.387 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002952/1.906, allocations: 206.7 kB / 1.408 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.276/7.182, allocations: 0 / 1.408 GB, free: 1.148 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)