Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001066/0.001066, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009911/0.0009911, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9453/0.9453, allocations: 143.3 MB / 434.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002912, allocations: 8 kB / 0.5159 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 83.42 MB / 0.5974 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.3889/0.5234, allocations: 167.2 MB / 0.7606 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01061/0.534, allocations: 7.368 MB / 0.7678 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009201/0.535, allocations: 31.81 kB / 0.7678 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.5367, allocations: 0.63 MB / 0.7684 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00498/0.5417, allocations: 2.101 MB / 0.7705 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.5442, allocations: 0.977 MB / 0.7714 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002316/0.5465, allocations: 1.685 MB / 0.7731 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008883/0.5474, allocations: 0.6805 MB / 0.7737 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.5486, allocations: 0.806 MB / 0.7745 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007578/0.5494, allocations: 0.5993 MB / 0.7751 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.5495, allocations: 48 kB / 0.7752 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.5515, allocations: 0.897 MB / 0.776 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003551/0.5519, allocations: 347 kB / 0.7764 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.5521, allocations: 261.1 kB / 0.7766 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.5537, allocations: 1.554 MB / 0.7781 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.5537, allocations: 0 / 0.7781 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5537, allocations: 0 / 0.7781 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.946e-05/0.5538, allocations: 0 / 0.7781 GB, free: 3.047 MB / 0.5919 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.002776/0.5566, allocations: 1.386 MB / 0.7795 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.5566, allocations: 12.03 kB / 0.7795 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.5568, allocations: 135.2 kB / 0.7796 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/0.5592, allocations: 386.2 kB / 0.78 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.5605, allocations: 0.7818 MB / 0.7808 GB, free: 264 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/0.5606, allocations: 62 kB / 0.7808 GB, free: 200 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.5607, allocations: 84 kB / 0.7809 GB, free: 116 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.5624, allocations: 1.038 MB / 0.7819 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.5624, allocations: 0 / 0.7819 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.561e-05/0.5625, allocations: 36 kB / 0.7819 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.726e-05/0.5626, allocations: 45.94 kB / 0.782 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.5641, allocations: 0.8783 MB / 0.7828 GB, free: 14.09 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.004629/0.5687, allocations: 4.3 MB / 0.787 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.5698, allocations: 0.6907 MB / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005982/0.5705, allocations: 0.6771 MB / 0.7884 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.5705, allocations: 43.06 kB / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 2.154e-06/0.5705, allocations: 0 / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.001816/0.5723, allocations: 0.9978 MB / 0.7894 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.5724, allocations: 59.97 kB / 0.7895 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007285/0.5731, allocations: 0.6295 MB / 0.7901 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.785e-05/0.5732, allocations: 37.7 kB / 0.7901 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.5735, allocations: 440 kB / 0.7905 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.5737, allocations: 244.4 kB / 0.7908 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.5737, allocations: 12 kB / 0.7908 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.5739, allocations: 386.8 kB / 0.7911 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004525/0.5744, allocations: 277.2 kB / 0.7914 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/0.5749, allocations: 361 kB / 0.7917 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005139/0.5754, allocations: 323.1 kB / 0.7921 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5754, allocations: 0 / 0.7921 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001247/0.5767, allocations: 0.7969 MB / 0.7928 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.5767, allocations: 8.188 kB / 0.7928 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.5767, allocations: 0 / 0.7928 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.5767, allocations: 8 kB / 0.7929 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006345/0.5774, allocations: 151.7 kB / 0.793 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.5774, allocations: 4 kB / 0.793 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008688/0.5783, allocations: 111.4 kB / 0.7931 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/0.5783, allocations: 24.56 kB / 0.7931 GB, free: 2.961 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000372/0.5787, allocations: 289.6 kB / 0.7934 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.5788, allocations: 90.92 kB / 0.7935 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.5802, allocations: 0.7965 MB / 0.7943 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.5802, allocations: 11.98 kB / 0.7943 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5803, allocations: 0 / 0.7943 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001103/0.5814, allocations: 0.8231 MB / 0.7951 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.5826, allocations: 0.9743 MB / 0.796 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5826, allocations: 0 / 0.796 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008197/0.5834, allocations: 163.8 kB / 0.7962 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.5834, allocations: 4 kB / 0.7962 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-05/0.5835, allocations: 19.95 kB / 0.7962 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.5835, allocations: 7.688 kB / 0.7962 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5835, allocations: 4 kB / 0.7962 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.5853, allocations: 1.19 MB / 0.7974 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004237/0.5857, allocations: 247.9 kB / 0.7976 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.5858, allocations: 12 kB / 0.7976 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007466/0.5866, allocations: 87.02 kB / 0.7977 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.5867, allocations: 44.44 kB / 0.7978 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.857e-05/0.5867, allocations: 27.92 kB / 0.7978 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005142/0.5873, allocations: 451 kB / 0.7982 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5873, allocations: 0 / 0.7982 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007994/0.5881, allocations: 331.3 kB / 0.7985 GB, free: 13.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002175/0.5903, allocations: 1.836 MB / 0.8003 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.5914, allocations: 0.6796 MB / 0.801 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5914, allocations: 0 / 0.801 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005377/0.5919, allocations: 367.4 kB / 0.8013 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.5942, allocations: 0.5159 MB / 0.8018 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008591/0.6028, allocations: 6.647 MB / 0.8083 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006657/0.6035, allocations: 1.115 MB / 0.8094 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008848/0.6044, allocations: 224.7 kB / 0.8096 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004767/0.6048, allocations: 355.3 kB / 0.81 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.6048, allocations: 0 / 0.81 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04034/0.6452, allocations: 25.09 MB / 0.8345 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/0.6454, allocations: 188.3 kB / 0.8347 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.118/2.763, allocations: 15.75 kB / 0.8347 GB, free: 8.516 MB / 0.6544 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) Environment - environmentSimulation: