Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.OneOpenDoor,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_OneOpenDoor",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.001199/0.001199, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001159/0.001159, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.187/1.187, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.231/2.231, allocations: 437 MB / 0.7101 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.91 kB / 0.8689 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.482/0.4832, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1416/0.6248, allocations: 164.7 MB / 1.178 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009981/0.6348, allocations: 8.441 MB / 1.186 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009655/0.6358, allocations: 35.81 kB / 1.186 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.637, allocations: 0.4975 MB / 1.187 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002809/0.6399, allocations: 1.435 MB / 1.188 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001908/0.6418, allocations: 0.9078 MB / 1.189 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00345/0.6452, allocations: 4.132 MB / 1.193 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.6465, allocations: 1.296 MB / 1.194 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002385/0.6489, allocations: 1.51 MB / 1.196 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.6504, allocations: 1.573 MB / 1.197 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002142/0.6506, allocations: 188 kB / 1.197 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.6524, allocations: 1.104 MB / 1.198 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004873/0.6529, allocations: 0.6817 MB / 1.199 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008051/0.6537, allocations: 1.027 MB / 1.2 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002313/0.6561, allocations: 2.746 MB / 1.203 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6561, allocations: 0 / 1.203 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6561, allocations: 7.938 kB / 1.203 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.916e-05/0.6561, allocations: 0 / 1.203 GB, free: 3.734 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: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.00372/0.6598, allocations: 2.258 MB / 1.205 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.6599, allocations: 12.03 kB / 1.205 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002241/0.6601, allocations: 223.9 kB / 1.205 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004063/0.6605, allocations: 194.7 kB / 1.205 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.6621, allocations: 1.173 MB / 1.207 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.048e-05/0.6622, allocations: 111 kB / 1.207 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.6624, allocations: 152 kB / 1.207 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/0.665, allocations: 1.923 MB / 1.209 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.665, allocations: 0 / 1.209 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.6652, allocations: 67.98 kB / 1.209 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.6652, allocations: 36 kB / 1.209 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003315/0.6685, allocations: 2.478 MB / 1.211 GB, free: 10.96 MB / 0.9669 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.00659/0.6751, allocations: 6.089 MB / 1.217 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003133/0.6783, allocations: 2.805 MB / 1.22 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001783/0.6801, allocations: 1.428 MB / 1.221 GB, free: 264 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00143/0.6815, allocations: 1.73 MB / 1.223 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.6816, allocations: 60.56 kB / 1.223 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=237): time 3.607e-06/0.6816, allocations: 3.938 kB / 1.223 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=237): time 0.004851/0.6864, allocations: 3.43 MB / 1.226 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.6865, allocations: 77.41 kB / 1.226 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008327/0.6873, allocations: 0.7665 MB / 1.227 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.6874, allocations: 65.7 kB / 1.227 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.6877, allocations: 482.1 kB / 1.228 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005127/0.6883, allocations: 0.797 MB / 1.228 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004351/0.6887, allocations: 347.6 kB / 1.229 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.652e-05/0.6888, allocations: 305.1 kB / 1.229 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.69, allocations: 0.898 MB / 1.23 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.6915, allocations: 1.125 MB / 1.231 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/0.6944, allocations: 2.223 MB / 1.233 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.6944, allocations: 4 kB / 1.233 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003378/0.6978, allocations: 2.432 MB / 1.236 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.6978, allocations: 11.94 kB / 1.236 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.6978, allocations: 4.469 kB / 1.236 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.6979, allocations: 16 kB / 1.236 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.6994, allocations: 439.4 kB / 1.236 GB, free: 484 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.6994, allocations: 12 kB / 1.236 GB, free: 472 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.7004, allocations: 198.3 kB / 1.236 GB, free: 272 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.7006, allocations: 83.98 kB / 1.236 GB, free: 188 kB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.000604/0.7012, allocations: 441.7 kB / 1.237 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.7014, allocations: 142.2 kB / 1.237 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00391/0.7053, allocations: 2.725 MB / 1.24 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.7053, allocations: 24 kB / 1.24 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7054, allocations: 3.938 kB / 1.24 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00299/0.7084, allocations: 2.381 MB / 1.242 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005396/0.7138, allocations: 4.286 MB / 1.246 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.7138, allocations: 0 / 1.246 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/0.7153, allocations: 411.5 kB / 1.246 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004918/0.7158, allocations: 101.6 kB / 1.247 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/0.7159, allocations: 55.98 kB / 1.247 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006169/0.7165, allocations: 1.12 MB / 1.248 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7165, allocations: 0 / 1.248 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005156/0.7217, allocations: 4.061 MB / 1.252 GB, free: 220 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3886/1.11, allocations: 472.7 kB / 1.252 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002987/1.111, allocations: 41.42 kB / 1.252 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/1.112, allocations: 108.3 kB / 1.252 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/1.112, allocations: 139.4 kB / 1.252 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/1.112, allocations: 72.11 kB / 1.252 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006636/1.113, allocations: 0.534 MB / 1.253 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/1.113, allocations: 0 / 1.253 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001326/1.114, allocations: 0.6404 MB / 1.254 GB, free: 233.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006352/1.12, allocations: 4.892 MB / 1.258 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009423/1.13, allocations: 4.851 MB / 1.263 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.13, allocations: 4.469 kB / 1.263 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/1.132, allocations: 1.281 MB / 1.264 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/1.134, allocations: 0.5733 MB / 1.265 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/1.15, allocations: 14.88 MB / 1.279 GB, free: 222.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/1.151, allocations: 1.339 MB / 1.281 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001796/1.153, allocations: 0.7339 MB / 1.282 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007142/1.153, allocations: 0.6193 MB / 1.282 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of SimCode: time 8.61e-07/1.153, allocations: 0 / 1.282 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07231/1.226, allocations: 38.87 MB / 1.32 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000137/1.226, allocations: 239.5 kB / 1.32 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/3.798, allocations: 3.938 kB / 1.32 GB, free: 182.6 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)