Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_IDEAS_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.007197/0.007197, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001326/0.001326, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7344/0.7344, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 0.5809 GB, free: 8.051 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4189, allocations: 80.21 MB / 0.6592 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.2094/0.6284, allocations: 201.9 MB / 0.8564 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01062/0.639, allocations: 7.372 MB / 0.8636 GB, free: 4.098 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.6404, allocations: 35.81 kB / 0.8636 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.6424, allocations: 0.7304 MB / 0.8643 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005744/0.6482, allocations: 2.482 MB / 0.8668 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.3809/1.029, allocations: 1.242 MB / 0.868 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004639/1.034, allocations: 2.904 MB / 0.8708 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/1.035, allocations: 0.9501 MB / 0.8717 GB, free: 4.203 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/1.037, allocations: 1.057 MB / 0.8728 GB, free: 4.203 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/1.039, allocations: 0.9673 MB / 0.8737 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001828/1.039, allocations: 110.9 kB / 0.8738 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004814/1.044, allocations: 2.137 MB / 0.8759 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006122/1.045, allocations: 451 kB / 0.8763 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001078/1.046, allocations: 0.6673 MB / 0.877 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003981/1.05, allocations: 2.417 MB / 0.8794 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/1.05, allocations: 2.219 kB / 0.8794 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.793e-06/1.05, allocations: 0 / 0.8794 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.548e-05/1.05, allocations: 0 / 0.8794 GB, free: 4.062 MB / 0.6856 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.003207/1.053, allocations: 1.666 MB / 0.881 GB, free: 19.2 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/1.053, allocations: 13.53 kB / 0.881 GB, free: 19.2 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001498/1.053, allocations: 138.5 kB / 0.8811 GB, free: 19.16 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002429/1.056, allocations: 379.9 kB / 0.8815 GB, free: 19.09 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/1.057, allocations: 0.8513 MB / 0.8823 GB, free: 18.77 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.732e-05/1.057, allocations: 68.5 kB / 0.8824 GB, free: 18.76 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/1.057, allocations: 91.84 kB / 0.8825 GB, free: 18.76 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/1.059, allocations: 1.037 MB / 0.8835 GB, free: 18.62 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/1.059, allocations: 5.188 kB / 0.8835 GB, free: 18.62 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.993e-05/1.059, allocations: 36.39 kB / 0.8835 GB, free: 18.62 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.075e-05/1.059, allocations: 45.3 kB / 0.8836 GB, free: 18.62 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/1.061, allocations: 0.8752 MB / 0.8844 GB, free: 18.61 MB / 0.7012 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.005132/1.066, allocations: 4.295 MB / 0.8886 GB, free: 16.15 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/1.067, allocations: 0.691 MB / 0.8893 GB, free: 16.11 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007963/1.068, allocations: 463.5 kB / 0.8897 GB, free: 16.1 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005932/1.068, allocations: 0.6725 MB / 0.8904 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/1.068, allocations: 48.38 kB / 0.8904 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 2.544e-06/1.068, allocations: 0.9688 kB / 0.8904 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.001857/1.07, allocations: 0.9917 MB / 0.8914 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/1.07, allocations: 59.91 kB / 0.8915 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007217/1.071, allocations: 0.6311 MB / 0.8921 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.67e-05/1.071, allocations: 42.02 kB / 0.8921 GB, free: 15 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/1.071, allocations: 449 kB / 0.8926 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/1.072, allocations: 258.2 kB / 0.8928 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/1.072, allocations: 119.1 kB / 0.8929 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.072, allocations: 387.1 kB / 0.8933 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/1.072, allocations: 276.6 kB / 0.8935 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004803/1.073, allocations: 364.3 kB / 0.8939 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000955/1.074, allocations: 0.6629 MB / 0.8945 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/1.074, allocations: 3.938 kB / 0.8945 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001188/1.075, allocations: 0.7958 MB / 0.8953 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.075, allocations: 6.062 kB / 0.8953 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.075, allocations: 2.031 kB / 0.8953 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/1.075, allocations: 5.375 kB / 0.8953 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000641/1.076, allocations: 147.2 kB / 0.8955 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/1.076, allocations: 4.312 kB / 0.8955 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007973/1.077, allocations: 65.69 kB / 0.8955 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/1.077, allocations: 20.78 kB / 0.8956 GB, free: 14.05 MB / 0.7012 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.0003776/1.077, allocations: 294 kB / 0.8958 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/1.077, allocations: 91.02 kB / 0.8959 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/1.078, allocations: 0.7823 MB / 0.8967 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/1.078, allocations: 11.19 kB / 0.8967 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.078, allocations: 0 / 0.8967 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001051/1.08, allocations: 0.8143 MB / 0.8975 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/1.082, allocations: 1.846 MB / 0.8993 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.082, allocations: 0 / 0.8993 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007585/1.083, allocations: 176.6 kB / 0.8995 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.083, allocations: 0 / 0.8995 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/1.083, allocations: 18.16 kB / 0.8995 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/1.083, allocations: 10.06 kB / 0.8995 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.083, allocations: 2.375 kB / 0.8995 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/1.084, allocations: 1.282 MB / 0.9008 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/1.085, allocations: 257 kB / 0.901 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/1.085, allocations: 14.31 kB / 0.901 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006077/1.085, allocations: 21.33 kB / 0.901 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/1.086, allocations: 46.75 kB / 0.9011 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/1.086, allocations: 22.91 kB / 0.9011 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004443/1.086, allocations: 456.3 kB / 0.9015 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.31e-07/1.086, allocations: 0 / 0.9015 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008142/1.087, allocations: 343.1 kB / 0.9019 GB, free: 12.73 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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.002036/1.089, allocations: 1.917 MB / 0.9037 GB, free: 12 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009882/1.09, allocations: 0.674 MB / 0.9044 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.09, allocations: 3.062 kB / 0.9044 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004515/1.09, allocations: 376.3 kB / 0.9048 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/1.093, allocations: 0.5488 MB / 0.9053 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008299/1.101, allocations: 6.942 MB / 0.9121 GB, free: 9.793 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/1.101, allocations: 1.088 MB / 0.9131 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007447/1.102, allocations: 232.5 kB / 0.9134 GB, free: 9.016 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004842/1.103, allocations: 361.7 kB / 0.9137 GB, free: 9.008 MB / 0.7012 GB Notification: Performance of SimCode: time 4.91e-07/1.103, allocations: 0 / 0.9137 GB, free: 9.008 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04473/1.147, allocations: 25.35 MB / 0.9385 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.551/9.698, allocations: 7.797 kB / 0.9385 GB, free: 2.441 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)