Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.ClosedDoors,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors",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.001494/0.001494, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001555/0.001555, allocations: 195.5 kB / 16.14 MB, free: 6.711 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.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.596/2.596, allocations: 461.9 MB / 0.7342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 66.72 kB / 0.8985 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2911, allocations: 157.4 MB / 1.052 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.7989/1.09, allocations: 216.2 MB / 1.263 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02381/1.114, allocations: 20.75 MB / 1.284 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002922/1.117, allocations: 51.53 kB / 1.284 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003342/1.12, allocations: 1.097 MB / 1.285 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01138/1.132, allocations: 3.844 MB / 1.288 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004423/1.136, allocations: 1.386 MB / 1.29 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0108/1.147, allocations: 9.517 MB / 1.299 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00351/1.15, allocations: 1.998 MB / 1.301 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00531/1.156, allocations: 2.031 MB / 1.303 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005737/1.162, allocations: 2.533 MB / 1.305 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006433/1.162, allocations: 183.2 kB / 1.306 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009393/1.172, allocations: 3.958 MB / 1.31 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001874/1.174, allocations: 1.297 MB / 1.311 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002789/1.176, allocations: 1.694 MB / 1.312 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008197/1.185, allocations: 5.823 MB / 1.318 GB, free: 140 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.185, allocations: 0 / 1.318 GB, free: 140 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/1.185, allocations: 0 / 1.318 GB, free: 140 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.37e-05/1.185, allocations: 1.781 kB / 1.318 GB, free: 140 kB / 0.9981 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.008735/1.193, allocations: 3.95 MB / 1.322 GB, free: 14.6 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.193, allocations: 14.06 kB / 1.322 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004302/1.194, allocations: 387.8 kB / 1.322 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004622/1.199, allocations: 0.8267 MB / 1.323 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003128/1.202, allocations: 1.879 MB / 1.325 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/1.202, allocations: 209.1 kB / 1.325 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003473/1.202, allocations: 271.2 kB / 1.325 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004796/1.207, allocations: 3.278 MB / 1.329 GB, free: 13.72 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.542e-05/1.207, allocations: 3.219 kB / 1.329 GB, free: 13.72 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003197/1.207, allocations: 114.9 kB / 1.329 GB, free: 13.72 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/1.207, allocations: 124.5 kB / 1.329 GB, free: 13.71 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006609/1.214, allocations: 4.624 MB / 1.333 GB, free: 13.67 MB / 1.014 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.01527/1.229, allocations: 10.87 MB / 1.344 GB, free: 8.359 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005957/1.235, allocations: 4.854 MB / 1.349 GB, free: 7.605 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003657/1.239, allocations: 2.527 MB / 1.351 GB, free: 6.664 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/1.24, allocations: 0.8648 MB / 1.352 GB, free: 5.762 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.653e-05/1.24, allocations: 83.64 kB / 1.352 GB, free: 5.691 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 5.019e-06/1.24, allocations: 4 kB / 1.352 GB, free: 5.688 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.009251/1.25, allocations: 6.026 MB / 1.358 GB, free: 2.602 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/1.25, allocations: 89.64 kB / 1.358 GB, free: 2.535 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/1.251, allocations: 1.233 MB / 1.359 GB, free: 1.871 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000223/1.251, allocations: 98.02 kB / 1.359 GB, free: 1.785 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005036/1.252, allocations: 0.8088 MB / 1.36 GB, free: 1.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001002/1.253, allocations: 1.332 MB / 1.362 GB, free: 15.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007724/1.254, allocations: 0.5466 MB / 1.362 GB, free: 15.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.231e-05/1.254, allocations: 305.1 kB / 1.362 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/1.256, allocations: 1.602 MB / 1.364 GB, free: 14.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002421/1.258, allocations: 1.908 MB / 1.366 GB, free: 13.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00508/1.264, allocations: 3.839 MB / 1.37 GB, free: 10.9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/1.264, allocations: 0 / 1.37 GB, free: 10.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006216/1.27, allocations: 4.185 MB / 1.374 GB, free: 6.711 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/1.27, allocations: 11.92 kB / 1.374 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/1.27, allocations: 4 kB / 1.374 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/1.27, allocations: 20 kB / 1.374 GB, free: 6.676 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002651/1.273, allocations: 0.6806 MB / 1.374 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3e-05/1.273, allocations: 24.72 kB / 1.374 GB, free: 6.016 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002681/1.275, allocations: 397.1 kB / 1.375 GB, free: 5.625 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/1.275, allocations: 112 kB / 1.375 GB, free: 5.516 MB / 1.029 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00127/1.277, allocations: 0.7423 MB / 1.376 GB, free: 4.805 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004301/1.277, allocations: 245 kB / 1.376 GB, free: 4.562 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006963/1.284, allocations: 4.626 MB / 1.38 GB, free: 15.89 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/1.284, allocations: 43.94 kB / 1.38 GB, free: 15.85 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/1.284, allocations: 4 kB / 1.38 GB, free: 15.85 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005514/1.29, allocations: 3.951 MB / 1.384 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/1.302, allocations: 8.278 MB / 1.392 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/1.302, allocations: 0 / 1.392 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002739/1.305, allocations: 0.6596 MB / 1.393 GB, free: 2.957 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004234/1.305, allocations: 137 kB / 1.393 GB, free: 2.816 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002014/1.305, allocations: 87.91 kB / 1.393 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003576/1.309, allocations: 4.514 MB / 1.398 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.309, allocations: 2.531 kB / 1.398 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/1.319, allocations: 6.819 MB / 1.404 GB, free: 6.973 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001735/1.321, allocations: 0.7666 MB / 1.405 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000531/1.322, allocations: 64 kB / 1.405 GB, free: 6.121 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002468/1.324, allocations: 215.5 kB / 1.405 GB, free: 5.914 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004343/1.324, allocations: 222.8 kB / 1.405 GB, free: 5.695 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002485/1.325, allocations: 112 kB / 1.406 GB, free: 5.586 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001397/1.326, allocations: 0.8606 MB / 1.406 GB, free: 4.723 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.61e-07/1.326, allocations: 3.938 kB / 1.406 GB, free: 4.719 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003091/1.329, allocations: 1.092 MB / 1.407 GB, free: 3.625 MB / 1.061 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.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01073/1.34, allocations: 7.613 MB / 1.415 GB, free: 11.99 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006136/1.346, allocations: 4.04 MB / 1.419 GB, free: 7.988 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.346, allocations: 0.8125 kB / 1.419 GB, free: 7.988 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003724/1.35, allocations: 2.55 MB / 1.421 GB, free: 5.473 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005304/1.355, allocations: 1.021 MB / 1.422 GB, free: 4.465 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04061/1.396, allocations: 26.1 MB / 1.448 GB, free: 9.188 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/1.398, allocations: 1.942 MB / 1.45 GB, free: 7.203 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003775/1.402, allocations: 1.223 MB / 1.451 GB, free: 5.973 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001853/1.403, allocations: 1.093 MB / 1.452 GB, free: 4.879 MB / 1.107 GB Notification: Performance of SimCode: time 1.032e-06/1.403, allocations: 0 / 1.452 GB, free: 4.879 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.285/2.689, allocations: 63.96 MB / 1.514 GB, free: 5.645 MB / 1.17 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/2.689, allocations: 225.1 kB / 1.515 GB, free: 5.387 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.157/6.846, allocations: 4 kB / 1.515 GB, free: 5.383 MB / 1.17 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)