Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_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.0045/0.0045, allocations: 98.39 kB / 15.73 MB, free: 5.98 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.001052/0.001052, allocations: 194.4 kB / 16.67 MB, free: 5.91 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.242/1.242, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002021/0.002021, allocations: 288.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8844/0.8844, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 103.8 kB / 0.681 GB, free: 7.492 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3756, allocations: 86.98 MB / 0.7659 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.5906/0.9662, allocations: 201.9 MB / 0.9631 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.9767, allocations: 7.399 MB / 0.9703 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001736/0.9784, allocations: 34.56 kB / 0.9704 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.9803, allocations: 0.7325 MB / 0.9711 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006131/0.9864, allocations: 2.48 MB / 0.9735 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003168/0.9896, allocations: 1.251 MB / 0.9747 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003893/0.9935, allocations: 2.916 MB / 0.9776 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.9948, allocations: 0.9453 MB / 0.9785 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001921/0.9967, allocations: 1.052 MB / 0.9795 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/0.9987, allocations: 0.9596 MB / 0.9805 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.9989, allocations: 111.3 kB / 0.9806 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004157/1.003, allocations: 2.143 MB / 0.9827 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005169/1.004, allocations: 447.8 kB / 0.9831 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009597/1.005, allocations: 0.6688 MB / 0.9837 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004336/1.009, allocations: 2.414 MB / 0.9861 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.009, allocations: 3.375 kB / 0.9861 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.973e-06/1.009, allocations: 0.9688 kB / 0.9861 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.433e-05/1.009, allocations: 0 / 0.9861 GB, free: 1.434 MB / 0.7169 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.00327/1.012, allocations: 1.662 MB / 0.9877 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/1.012, allocations: 11.06 kB / 0.9877 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001478/1.012, allocations: 134.2 kB / 0.9879 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002454/1.015, allocations: 381 kB / 0.9882 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/1.016, allocations: 0.8586 MB / 0.9891 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/1.016, allocations: 61.03 kB / 0.9891 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/1.017, allocations: 87.81 kB / 0.9892 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/1.018, allocations: 1.045 MB / 0.9902 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/1.018, allocations: 0.7812 kB / 0.9902 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.544e-05/1.018, allocations: 41.83 kB / 0.9903 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-05/1.018, allocations: 49.8 kB / 0.9903 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/1.02, allocations: 0.8786 MB / 0.9912 GB, free: 15.99 MB / 0.7325 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.004812/1.024, allocations: 4.304 MB / 0.9954 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/1.025, allocations: 0.6959 MB / 0.9961 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007215/1.026, allocations: 468.3 kB / 0.9965 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006433/1.027, allocations: 0.6749 MB / 0.9972 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/1.027, allocations: 44.75 kB / 0.9972 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 2.625e-06/1.027, allocations: 0 / 0.9972 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.001809/1.029, allocations: 0.9943 MB / 0.9982 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/1.029, allocations: 62.78 kB / 0.9982 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006742/1.029, allocations: 0.6351 MB / 0.9989 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.237e-05/1.03, allocations: 38.17 kB / 0.9989 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/1.03, allocations: 444 kB / 0.9993 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/1.03, allocations: 263.6 kB / 0.9996 GB, free: 12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/1.03, allocations: 119.1 kB / 0.9997 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.03, allocations: 391.6 kB / 1 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004054/1.031, allocations: 274.8 kB / 1 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/1.031, allocations: 361.7 kB / 1.001 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008938/1.032, allocations: 0.6573 MB / 1.001 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.032, allocations: 0 / 1.001 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001175/1.033, allocations: 0.7986 MB / 1.002 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.033, allocations: 6.688 kB / 1.002 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.033, allocations: 2.562 kB / 1.002 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/1.033, allocations: 4.969 kB / 1.002 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/1.034, allocations: 143 kB / 1.002 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/1.034, allocations: 6.375 kB / 1.002 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007954/1.035, allocations: 54.73 kB / 1.002 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/1.035, allocations: 23.06 kB / 1.002 GB, free: 11.43 MB / 0.7325 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.0004108/1.035, allocations: 290.3 kB / 1.003 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/1.035, allocations: 89.36 kB / 1.003 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/1.037, allocations: 0.8038 MB / 1.003 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/1.037, allocations: 8.406 kB / 1.003 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.037, allocations: 4 kB / 1.003 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009649/1.038, allocations: 0.8152 MB / 1.004 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/1.04, allocations: 1.859 MB / 1.006 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.04, allocations: 0 / 1.006 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000781/1.041, allocations: 166.9 kB / 1.006 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/1.041, allocations: 3.125 kB / 1.006 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/1.041, allocations: 20.75 kB / 1.006 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/1.041, allocations: 4.719 kB / 1.006 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/1.041, allocations: 4.312 kB / 1.006 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/1.043, allocations: 1.192 MB / 1.007 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004361/1.043, allocations: 253.3 kB / 1.008 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/1.043, allocations: 14.66 kB / 1.008 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000643/1.044, allocations: 23.25 kB / 1.008 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.635e-05/1.044, allocations: 43 kB / 1.008 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/1.044, allocations: 23.05 kB / 1.008 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004901/1.045, allocations: 457.1 kB / 1.008 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.045, allocations: 0 / 1.008 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008174/1.046, allocations: 340 kB / 1.009 GB, free: 10.11 MB / 0.7325 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.002097/1.048, allocations: 1.843 MB / 1.01 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00105/1.049, allocations: 0.6764 MB / 1.011 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.049, allocations: 3.203 kB / 1.011 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004655/1.049, allocations: 373.9 kB / 1.011 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/1.052, allocations: 0.5408 MB / 1.012 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009521/1.061, allocations: 6.978 MB / 1.019 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000669/1.062, allocations: 1.091 MB / 1.02 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001062/1.063, allocations: 230 kB / 1.02 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005092/1.063, allocations: 358.2 kB / 1.02 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of SimCode: time 8.32e-07/1.063, allocations: 5.344 kB / 1.02 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05565/1.119, allocations: 25.3 MB / 1.045 GB, free: 6.891 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.907/10.03, allocations: 8.547 kB / 1.045 GB, free: 6.883 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)