Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_dev_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.005137/0.005137, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.00114/0.00114, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9074/0.9074, allocations: 135.1 MB / 425.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 59.91 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3852, allocations: 80.9 MB / 0.6641 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.2018/0.587, allocations: 202 MB / 0.8614 GB, free: 6.93 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.3698/0.9569, allocations: 7.37 MB / 0.8686 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.9587, allocations: 37.62 kB / 0.8686 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002339/0.9611, allocations: 0.694 MB / 0.8693 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006555/0.9677, allocations: 2.403 MB / 0.8716 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003006/0.9708, allocations: 1.234 MB / 0.8728 GB, free: 1.84 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004215/0.975, allocations: 2.909 MB / 0.8757 GB, free: 1.84 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.9764, allocations: 0.9514 MB / 0.8766 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001967/0.9784, allocations: 1.036 MB / 0.8776 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.9805, allocations: 0.9666 MB / 0.8786 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002657/0.9808, allocations: 109.6 kB / 0.8787 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004679/0.9855, allocations: 2.132 MB / 0.8807 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005676/0.9861, allocations: 447.3 kB / 0.8812 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.9871, allocations: 0.6638 MB / 0.8818 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004161/0.9913, allocations: 2.411 MB / 0.8842 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.9913, allocations: 4.047 kB / 0.8842 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9913, allocations: 0 / 0.8842 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.237e-05/0.9913, allocations: 1.969 kB / 0.8842 GB, free: 1.582 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.003756/0.9951, allocations: 1.618 MB / 0.8858 GB, free: 16.76 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.9952, allocations: 17.08 kB / 0.8858 GB, free: 16.76 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/0.9953, allocations: 138.5 kB / 0.8859 GB, free: 16.72 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002632/0.998, allocations: 374.4 kB / 0.8863 GB, free: 16.66 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.9998, allocations: 0.8475 MB / 0.8871 GB, free: 16.33 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.51e-05/0.9998, allocations: 64.75 kB / 0.8871 GB, free: 16.33 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/1, allocations: 89.95 kB / 0.8872 GB, free: 16.33 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/1.002, allocations: 1.035 MB / 0.8882 GB, free: 16.2 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/1.002, allocations: 6.703 kB / 0.8883 GB, free: 16.2 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.388e-05/1.002, allocations: 37.78 kB / 0.8883 GB, free: 16.2 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.434e-05/1.002, allocations: 44.48 kB / 0.8883 GB, free: 16.2 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/1.004, allocations: 0.8781 MB / 0.8892 GB, free: 16.19 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.005169/1.009, allocations: 4.284 MB / 0.8934 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/1.01, allocations: 0.6839 MB / 0.894 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007813/1.011, allocations: 467 kB / 0.8945 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006275/1.011, allocations: 0.6683 MB / 0.8951 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/1.011, allocations: 46.56 kB / 0.8952 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 2.655e-06/1.011, allocations: 1.094 kB / 0.8952 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.00203/1.013, allocations: 0.9884 MB / 0.8961 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/1.013, allocations: 60.28 kB / 0.8962 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007844/1.014, allocations: 0.64 MB / 0.8968 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.118e-05/1.014, allocations: 42.14 kB / 0.8969 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/1.015, allocations: 428.5 kB / 0.8973 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/1.015, allocations: 250.8 kB / 0.8975 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/1.015, allocations: 120.2 kB / 0.8976 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001664/1.015, allocations: 390.2 kB / 0.898 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/1.016, allocations: 280.6 kB / 0.8983 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005485/1.016, allocations: 367.1 kB / 0.8986 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/1.017, allocations: 0.66 MB / 0.8993 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.485e-06/1.017, allocations: 4.438 kB / 0.8993 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001217/1.018, allocations: 0.7872 MB / 0.9 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.018, allocations: 8.75 kB / 0.9 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.019, allocations: 2.953 kB / 0.9001 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/1.019, allocations: 6.625 kB / 0.9001 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006302/1.019, allocations: 141.1 kB / 0.9002 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/1.019, allocations: 5.844 kB / 0.9002 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000872/1.02, allocations: 55.16 kB / 0.9003 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/1.02, allocations: 24.78 kB / 0.9003 GB, free: 11.66 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.0004135/1.021, allocations: 290.8 kB / 0.9006 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/1.021, allocations: 83.81 kB / 0.9006 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/1.022, allocations: 0.7959 MB / 0.9014 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/1.022, allocations: 5.688 kB / 0.9014 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.022, allocations: 0.8438 kB / 0.9014 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009395/1.023, allocations: 0.8143 MB / 0.9022 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/1.026, allocations: 1.843 MB / 0.904 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.026, allocations: 2.562 kB / 0.904 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008002/1.026, allocations: 167.6 kB / 0.9042 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/1.026, allocations: 3.594 kB / 0.9042 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.967e-05/1.026, allocations: 17.8 kB / 0.9042 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/1.026, allocations: 7.156 kB / 0.9042 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.026, allocations: 0 / 0.9042 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/1.028, allocations: 1.286 MB / 0.9055 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00048/1.029, allocations: 246.1 kB / 0.9057 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/1.029, allocations: 18.81 kB / 0.9057 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006518/1.029, allocations: 25.52 kB / 0.9057 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/1.03, allocations: 39.72 kB / 0.9058 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/1.03, allocations: 25.5 kB / 0.9058 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005824/1.03, allocations: 455.1 kB / 0.9062 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.8e-07/1.03, allocations: 0 / 0.9062 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001114/1.031, allocations: 339.2 kB / 0.9066 GB, free: 10.36 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.002295/1.034, allocations: 1.916 MB / 0.9084 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001018/1.035, allocations: 0.6776 MB / 0.9091 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.035, allocations: 4.156 kB / 0.9091 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004475/1.035, allocations: 369.7 kB / 0.9094 GB, free: 9.617 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/1.038, allocations: 0.5453 MB / 0.91 GB, free: 9.539 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008794/1.047, allocations: 6.902 MB / 0.9167 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/1.047, allocations: 1.088 MB / 0.9178 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008535/1.048, allocations: 222 kB / 0.918 GB, free: 6.66 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005589/1.049, allocations: 362.8 kB / 0.9183 GB, free: 6.656 MB / 0.7012 GB Notification: Performance of SimCode: time 7.32e-07/1.049, allocations: 3.594 kB / 0.9183 GB, free: 6.656 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05195/1.101, allocations: 25.78 MB / 0.9435 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.987/10.09, allocations: 7.828 kB / 0.9435 GB, free: 12.51 MB / 0.7169 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)