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.0008599/0.0008599, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.00514/0.00514, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.197/1.197, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.367/2.367, allocations: 462.6 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002977/0.0002977, allocations: 9.062 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2298, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.6475/0.8774, allocations: 213.2 MB / 1.267 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02021/0.8976, allocations: 20.52 MB / 1.287 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.8996, allocations: 49.25 kB / 1.287 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.902, allocations: 1.09 MB / 1.288 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008835/0.9108, allocations: 3.855 MB / 1.292 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003402/0.9142, allocations: 1.381 MB / 1.293 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008946/0.9232, allocations: 9.517 MB / 1.303 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002621/0.9258, allocations: 1.927 MB / 1.304 GB, free: 17.57 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003481/0.9293, allocations: 1.967 MB / 1.306 GB, free: 17.57 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003996/0.9333, allocations: 2.464 MB / 1.309 GB, free: 17.55 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003748/0.9337, allocations: 160.4 kB / 1.309 GB, free: 17.55 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006772/0.9405, allocations: 3.933 MB / 1.313 GB, free: 17.52 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001131/0.9416, allocations: 1.26 MB / 1.314 GB, free: 17.5 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001885/0.9435, allocations: 1.672 MB / 1.316 GB, free: 17.47 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005986/0.9495, allocations: 5.735 MB / 1.321 GB, free: 16.89 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.9496, allocations: 0 / 1.321 GB, free: 16.89 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9496, allocations: 0 / 1.321 GB, free: 16.89 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.246e-05/0.9496, allocations: 0 / 1.321 GB, free: 16.89 MB / 1.014 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.007064/0.9567, allocations: 3.461 MB / 1.325 GB, free: 15.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.9567, allocations: 15.28 kB / 1.325 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004129/0.9572, allocations: 386.8 kB / 1.325 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004079/0.9612, allocations: 0.8337 MB / 1.326 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/0.9639, allocations: 1.882 MB / 1.328 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-05/0.964, allocations: 204.4 kB / 1.328 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003378/0.9643, allocations: 265.2 kB / 1.328 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004248/0.9686, allocations: 3.285 MB / 1.331 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-05/0.9686, allocations: 0 / 1.331 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002348/0.9689, allocations: 112 kB / 1.331 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.772e-05/0.969, allocations: 131.5 kB / 1.331 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005589/0.9746, allocations: 4.622 MB / 1.336 GB, free: 14.06 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.01257/0.9871, allocations: 10.89 MB / 1.347 GB, free: 8.277 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004682/0.9918, allocations: 4.87 MB / 1.351 GB, free: 7.512 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002761/0.9946, allocations: 2.523 MB / 1.354 GB, free: 7.164 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009202/0.9955, allocations: 0.8704 MB / 1.355 GB, free: 6.266 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.9956, allocations: 78.33 kB / 1.355 GB, free: 6.223 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 5.07e-06/0.9956, allocations: 3.344 kB / 1.355 GB, free: 6.223 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.008183/1.004, allocations: 6.039 MB / 1.361 GB, free: 4.219 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/1.004, allocations: 92.83 kB / 1.361 GB, free: 4.152 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/1.005, allocations: 1.231 MB / 1.362 GB, free: 3.492 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002083/1.005, allocations: 93.14 kB / 1.362 GB, free: 3.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000493/1.006, allocations: 0.811 MB / 1.363 GB, free: 2.695 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009382/1.007, allocations: 1.333 MB / 1.364 GB, free: 1.535 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003114/1.007, allocations: 264.7 kB / 1.364 GB, free: 1.371 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.791e-05/1.007, allocations: 304.3 kB / 1.365 GB, free: 1.074 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/1.009, allocations: 1.61 MB / 1.366 GB, free: 276 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/1.012, allocations: 1.911 MB / 1.368 GB, free: 15.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004749/1.016, allocations: 3.837 MB / 1.372 GB, free: 13.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/1.016, allocations: 7.031 kB / 1.372 GB, free: 13.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005558/1.022, allocations: 4.191 MB / 1.376 GB, free: 10.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/1.022, allocations: 8.406 kB / 1.376 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.022, allocations: 11.98 kB / 1.376 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/1.022, allocations: 16 kB / 1.376 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002626/1.025, allocations: 0.684 MB / 1.377 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-05/1.025, allocations: 18.62 kB / 1.377 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/1.027, allocations: 405.1 kB / 1.377 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/1.028, allocations: 112 kB / 1.377 GB, free: 9.512 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.001183/1.029, allocations: 0.7263 MB / 1.378 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003761/1.029, allocations: 245 kB / 1.378 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006861/1.036, allocations: 4.641 MB / 1.383 GB, free: 3.895 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/1.036, allocations: 36 kB / 1.383 GB, free: 3.859 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/1.036, allocations: 0 / 1.383 GB, free: 3.859 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005222/1.041, allocations: 3.966 MB / 1.387 GB, free: 15.84 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/1.053, allocations: 8.279 MB / 1.395 GB, free: 7.574 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/1.053, allocations: 11.86 kB / 1.395 GB, free: 7.562 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002685/1.055, allocations: 0.6634 MB / 1.395 GB, free: 6.934 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004081/1.056, allocations: 133.1 kB / 1.395 GB, free: 6.797 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/1.056, allocations: 83.97 kB / 1.396 GB, free: 6.715 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003201/1.059, allocations: 4.53 MB / 1.4 GB, free: 1.816 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.059, allocations: 0 / 1.4 GB, free: 1.816 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009048/1.068, allocations: 6.817 MB / 1.407 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/1.07, allocations: 0.7588 MB / 1.407 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003196/1.07, allocations: 75.98 kB / 1.407 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/1.072, allocations: 212.4 kB / 1.408 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003847/1.073, allocations: 230.8 kB / 1.408 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/1.073, allocations: 112 kB / 1.408 GB, free: 9.551 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001055/1.074, allocations: 0.8606 MB / 1.409 GB, free: 8.688 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.91e-07/1.074, allocations: 0 / 1.409 GB, free: 8.688 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00233/1.076, allocations: 1.088 MB / 1.41 GB, free: 7.598 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.00947/1.086, allocations: 7.619 MB / 1.417 GB, free: 15.95 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0054/1.091, allocations: 4.04 MB / 1.421 GB, free: 11.95 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.091, allocations: 4 kB / 1.421 GB, free: 11.95 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003139/1.094, allocations: 2.552 MB / 1.424 GB, free: 9.43 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004668/1.099, allocations: 1.032 MB / 1.425 GB, free: 8.41 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03343/1.132, allocations: 26.35 MB / 1.45 GB, free: 12.86 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/1.134, allocations: 1.946 MB / 1.452 GB, free: 10.87 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003301/1.137, allocations: 1.215 MB / 1.454 GB, free: 9.645 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/1.139, allocations: 1.097 MB / 1.455 GB, free: 8.551 MB / 1.107 GB Notification: Performance of SimCode: time 1.222e-06/1.139, allocations: 0 / 1.455 GB, free: 8.551 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.843/2.981, allocations: 63.3 MB / 1.516 GB, free: 9.984 MB / 1.17 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/2.982, allocations: 231.3 kB / 1.517 GB, free: 9.723 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.416/7.398, allocations: 3.938 kB / 1.517 GB, free: 9.719 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)