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.05535/0.05535, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.04641/0.04641, allocations: 191.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 15.9/15.9, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002068, allocations: 283 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.123/1.123, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 97.3 kB / 0.5948 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2144, allocations: 86.98 MB / 0.6797 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.8453/1.06, allocations: 199.4 MB / 0.8744 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01273/1.073, allocations: 7.342 MB / 0.8816 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002376/1.075, allocations: 31.97 kB / 0.8816 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002308/1.077, allocations: 0.6225 MB / 0.8822 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007277/1.085, allocations: 2.262 MB / 0.8844 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003596/1.088, allocations: 1.144 MB / 0.8856 GB, free: 308 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004569/1.093, allocations: 2.903 MB / 0.8884 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/1.094, allocations: 0.9307 MB / 0.8893 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/1.096, allocations: 1.028 MB / 0.8903 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002359/1.099, allocations: 1.028 MB / 0.8913 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002008/1.099, allocations: 113.2 kB / 0.8914 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005064/1.104, allocations: 2.221 MB / 0.8936 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000662/1.105, allocations: 457 kB / 0.894 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/1.106, allocations: 0.6706 MB / 0.8947 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005147/1.111, allocations: 2.543 MB / 0.8972 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/1.111, allocations: 4 kB / 0.8972 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.884e-06/1.111, allocations: 0 / 0.8972 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.176e-05/1.111, allocations: 0 / 0.8972 GB, free: 9.246 MB / 0.6075 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.003315/1.114, allocations: 1.626 MB / 0.8988 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.115, allocations: 12.03 kB / 0.8988 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001657/1.115, allocations: 133.8 kB / 0.8989 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002479/1.117, allocations: 382.2 kB / 0.8993 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/1.119, allocations: 0.8046 MB / 0.9 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/1.119, allocations: 61.94 kB / 0.9001 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/1.119, allocations: 87.98 kB / 0.9002 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/1.12, allocations: 1.042 MB / 0.9012 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/1.12, allocations: 8 kB / 0.9012 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.511e-05/1.121, allocations: 39.92 kB / 0.9013 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.047e-05/1.121, allocations: 45.98 kB / 0.9013 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/1.122, allocations: 0.8783 MB / 0.9022 GB, free: 4 MB / 0.6075 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.004801/1.127, allocations: 4.292 MB / 0.9063 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/1.128, allocations: 0.6913 MB / 0.907 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000711/1.129, allocations: 459.6 kB / 0.9075 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006256/1.129, allocations: 0.6848 MB / 0.9081 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/1.129, allocations: 39.12 kB / 0.9082 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.134e-06/1.129, allocations: 0 / 0.9082 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.001848/1.131, allocations: 0.99 MB / 0.9091 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/1.131, allocations: 63.97 kB / 0.9092 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007806/1.132, allocations: 0.6334 MB / 0.9098 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.446e-05/1.132, allocations: 37.7 kB / 0.9098 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002947/1.133, allocations: 432.1 kB / 0.9103 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/1.133, allocations: 248.3 kB / 0.9105 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/1.133, allocations: 118.2 kB / 0.9106 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.133, allocations: 394.7 kB / 0.911 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/1.134, allocations: 277.2 kB / 0.9113 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/1.134, allocations: 361 kB / 0.9116 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009481/1.135, allocations: 0.6587 MB / 0.9122 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.135, allocations: 0 / 0.9122 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001282/1.136, allocations: 0.7969 MB / 0.913 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/1.136, allocations: 8.188 kB / 0.913 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.136, allocations: 4 kB / 0.913 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/1.136, allocations: 4 kB / 0.913 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/1.137, allocations: 146.9 kB / 0.9132 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/1.137, allocations: 4 kB / 0.9132 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009915/1.138, allocations: 115.3 kB / 0.9133 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/1.138, allocations: 24 kB / 0.9133 GB, free: 7.953 MB / 0.6231 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.0004367/1.139, allocations: 290.2 kB / 0.9136 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/1.139, allocations: 86.97 kB / 0.9137 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/1.14, allocations: 0.7969 MB / 0.9144 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/1.14, allocations: 8 kB / 0.9145 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.14, allocations: 0 / 0.9145 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001029/1.141, allocations: 0.8113 MB / 0.9152 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/1.144, allocations: 1.86 MB / 0.9171 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.144, allocations: 0 / 0.9171 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008186/1.145, allocations: 171.7 kB / 0.9172 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/1.145, allocations: 4 kB / 0.9172 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.486e-05/1.145, allocations: 19.98 kB / 0.9172 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/1.145, allocations: 4 kB / 0.9173 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.145, allocations: 0 / 0.9173 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/1.146, allocations: 1.193 MB / 0.9184 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/1.147, allocations: 251.9 kB / 0.9187 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/1.147, allocations: 12 kB / 0.9187 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009066/1.148, allocations: 67.84 kB / 0.9187 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/1.148, allocations: 48.5 kB / 0.9188 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.419e-05/1.148, allocations: 20 kB / 0.9188 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006791/1.149, allocations: 455 kB / 0.9192 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/1.149, allocations: 0 / 0.9192 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001002/1.15, allocations: 339.2 kB / 0.9196 GB, free: 1.395 MB / 0.6231 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.002365/1.152, allocations: 1.841 MB / 0.9214 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001629/1.154, allocations: 0.8123 MB / 0.9221 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.154, allocations: 4.375 kB / 0.9222 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005374/1.155, allocations: 375 kB / 0.9225 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/1.157, allocations: 0.5467 MB / 0.923 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/1.169, allocations: 7.575 MB / 0.9304 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008226/1.17, allocations: 1.085 MB / 0.9315 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001087/1.171, allocations: 227.1 kB / 0.9317 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005474/1.172, allocations: 359.3 kB / 0.9321 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of SimCode: time 6.31e-07/1.172, allocations: 3.938 kB / 0.9321 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04841/1.22, allocations: 24.88 MB / 0.9564 GB, free: 11.93 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/1.221, allocations: 222.5 kB / 0.9566 GB, free: 11.67 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/3.572, allocations: 0 / 0.9566 GB, free: 11.67 MB / 0.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)