Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_NaturalVentilation",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.008291/0.008291, allocations: 100.8 kB / 15.73 MB, free: 6.477 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.002129/0.002129, allocations: 189.4 kB / 16.67 MB, free: 6.391 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.367 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.42/2.42, allocations: 437.1 MB / 0.7105 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.91 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2715, allocations: 151.6 MB / 1.166 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.7238/0.9953, allocations: 202 MB / 1.363 GB, free: 10.59 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01015/1.006, allocations: 7.391 MB / 1.371 GB, free: 5.344 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/1.007, allocations: 37.53 kB / 1.371 GB, free: 5.332 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/1.008, allocations: 0.6883 MB / 1.371 GB, free: 4.945 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005096/1.014, allocations: 2.404 MB / 1.374 GB, free: 3.398 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/1.016, allocations: 1.239 MB / 1.375 GB, free: 2.445 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003172/1.019, allocations: 2.909 MB / 1.378 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/1.021, allocations: 0.9543 MB / 1.379 GB, free: 192 kB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/1.022, allocations: 1.017 MB / 1.38 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/1.023, allocations: 0.9601 MB / 1.381 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001517/1.024, allocations: 111.4 kB / 1.381 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003601/1.027, allocations: 2.13 MB / 1.383 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004009/1.028, allocations: 446.1 kB / 1.383 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006388/1.028, allocations: 0.6722 MB / 1.384 GB, free: 13.15 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002846/1.031, allocations: 2.408 MB / 1.386 GB, free: 11.63 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.031, allocations: 1.844 kB / 1.386 GB, free: 11.63 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/1.031, allocations: 0 / 1.386 GB, free: 11.63 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.39e-05/1.031, allocations: 0 / 1.386 GB, free: 11.63 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002813/1.034, allocations: 1.616 MB / 1.388 GB, free: 10.43 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/1.034, allocations: 11.66 kB / 1.388 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/1.034, allocations: 137.6 kB / 1.388 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002288/1.036, allocations: 379.5 kB / 1.388 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/1.038, allocations: 0.8529 MB / 1.389 GB, free: 9.469 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/1.038, allocations: 65.05 kB / 1.389 GB, free: 9.438 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/1.038, allocations: 87 kB / 1.389 GB, free: 9.406 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/1.039, allocations: 1.05 MB / 1.39 GB, free: 8.758 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/1.039, allocations: 0 / 1.39 GB, free: 8.758 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.3e-05/1.04, allocations: 37.56 kB / 1.39 GB, free: 8.73 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.227e-05/1.04, allocations: 45.27 kB / 1.39 GB, free: 8.719 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/1.041, allocations: 0.8779 MB / 1.391 GB, free: 8.289 MB / 1.061 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.004256/1.045, allocations: 4.294 MB / 1.395 GB, free: 4.461 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/1.046, allocations: 0.7004 MB / 1.396 GB, free: 4.086 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007425/1.047, allocations: 465.9 kB / 1.397 GB, free: 3.855 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005935/1.048, allocations: 0.6727 MB / 1.397 GB, free: 3.082 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/1.048, allocations: 48.34 kB / 1.397 GB, free: 3.031 MB / 1.061 GB Notification: Performance of pre-optimization done (n=70): time 2.113e-06/1.048, allocations: 0 / 1.397 GB, free: 3.031 MB / 1.061 GB Notification: Performance of matching and sorting (n=70): time 0.001743/1.049, allocations: 0.991 MB / 1.398 GB, free: 2.535 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/1.049, allocations: 58.81 kB / 1.398 GB, free: 2.473 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006418/1.05, allocations: 0.6352 MB / 1.399 GB, free: 2.105 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/1.05, allocations: 39.73 kB / 1.399 GB, free: 2.062 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/1.05, allocations: 433.2 kB / 1.399 GB, free: 1.684 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/1.051, allocations: 246.8 kB / 1.4 GB, free: 1.469 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/1.051, allocations: 116.4 kB / 1.4 GB, free: 1.395 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.051, allocations: 398.8 kB / 1.4 GB, free: 1.016 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/1.051, allocations: 274.3 kB / 1.4 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004731/1.052, allocations: 356.5 kB / 1.401 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009217/1.053, allocations: 0.6617 MB / 1.401 GB, free: 288 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.053, allocations: 0 / 1.401 GB, free: 288 kB / 1.061 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001163/1.054, allocations: 0.799 MB / 1.402 GB, free: 15.86 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/1.054, allocations: 7.5 kB / 1.402 GB, free: 15.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.054, allocations: 2.094 kB / 1.402 GB, free: 15.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/1.054, allocations: 2.562 kB / 1.402 GB, free: 15.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/1.055, allocations: 141.1 kB / 1.402 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/1.055, allocations: 4.719 kB / 1.402 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006953/1.055, allocations: 52.23 kB / 1.402 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/1.055, allocations: 26.62 kB / 1.402 GB, free: 15.79 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0003335/1.056, allocations: 296.1 kB / 1.403 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/1.056, allocations: 86 kB / 1.403 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/1.057, allocations: 0.792 MB / 1.403 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/1.057, allocations: 7.781 kB / 1.403 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.057, allocations: 4 kB / 1.403 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009739/1.058, allocations: 0.8126 MB / 1.404 GB, free: 14.51 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/1.061, allocations: 1.857 MB / 1.406 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/1.061, allocations: 3.938 kB / 1.406 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007679/1.061, allocations: 170.3 kB / 1.406 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.061, allocations: 6.625 kB / 1.406 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/1.061, allocations: 19.45 kB / 1.406 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.061, allocations: 6.25 kB / 1.406 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.061, allocations: 0 / 1.406 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/1.063, allocations: 1.191 MB / 1.407 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003587/1.063, allocations: 248 kB / 1.408 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/1.064, allocations: 17.03 kB / 1.408 GB, free: 12.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006216/1.064, allocations: 26.08 kB / 1.408 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.064, allocations: 44.19 kB / 1.408 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/1.064, allocations: 19.38 kB / 1.408 GB, free: 12.27 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004809/1.065, allocations: 460.9 kB / 1.408 GB, free: 12 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.31e-07/1.065, allocations: 0 / 1.408 GB, free: 12 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007559/1.066, allocations: 333 kB / 1.409 GB, free: 11.82 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.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 (70): * Single equations (assignments): 70 * 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 Backend phase and start with SimCode phase: time 0.002093/1.068, allocations: 1.848 MB / 1.41 GB, free: 9.945 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001042/1.069, allocations: 0.6757 MB / 1.411 GB, free: 9.273 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.069, allocations: 384 / 1.411 GB, free: 9.273 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005283/1.069, allocations: 375 kB / 1.411 GB, free: 8.902 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/1.072, allocations: 0.5459 MB / 1.412 GB, free: 8.375 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009087/1.081, allocations: 6.928 MB / 1.419 GB, free: 1.289 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006351/1.081, allocations: 1.089 MB / 1.42 GB, free: 176 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007608/1.082, allocations: 231.2 kB / 1.42 GB, free: 15.94 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000473/1.083, allocations: 359.3 kB / 1.42 GB, free: 15.59 MB / 1.092 GB Notification: Performance of SimCode: time 5.41e-07/1.083, allocations: 0 / 1.42 GB, free: 15.59 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04776/1.13, allocations: 25.29 MB / 1.445 GB, free: 6.68 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.427/9.558, allocations: 15.42 kB / 1.445 GB, free: 6.668 MB / 1.107 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)