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.004446/0.004446, allocations: 106.1 kB / 15.73 MB, free: 6.047 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.001179/0.001179, allocations: 196.6 kB / 16.67 MB, free: 5.961 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.205/1.205, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7357/0.7357, allocations: 135.1 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 65.77 kB / 0.5851 GB, free: 21.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1188, allocations: 80.92 MB / 0.6641 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.4471/0.5659, allocations: 202 MB / 0.8614 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009594/0.5755, allocations: 7.377 MB / 0.8686 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.5767, allocations: 35.81 kB / 0.8686 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.5783, allocations: 0.6914 MB / 0.8693 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005267/0.5836, allocations: 2.4 MB / 0.8716 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.5868, allocations: 1.242 MB / 0.8728 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004196/0.591, allocations: 2.906 MB / 0.8757 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.5922, allocations: 0.9517 MB / 0.8766 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.5937, allocations: 1.024 MB / 0.8776 GB, free: 4.816 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.5955, allocations: 0.958 MB / 0.8785 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002113/0.5957, allocations: 108 kB / 0.8786 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003303/0.599, allocations: 2.132 MB / 0.8807 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000448/0.5994, allocations: 454.7 kB / 0.8812 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006957/0.6002, allocations: 0.6611 MB / 0.8818 GB, free: 0.5117 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002695/0.6029, allocations: 2.407 MB / 0.8842 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.6029, allocations: 0 / 0.8842 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.494e-06/0.6029, allocations: 3.938 kB / 0.8842 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.6029, allocations: 3.938 kB / 0.8842 GB, free: 14.09 MB / 0.6544 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.002822/0.6057, allocations: 1.628 MB / 0.8858 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.6058, allocations: 13.11 kB / 0.8858 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001487/0.6059, allocations: 135.3 kB / 0.8859 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/0.6082, allocations: 370.2 kB / 0.8862 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.6095, allocations: 0.8551 MB / 0.8871 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/0.6096, allocations: 62 kB / 0.8871 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.6097, allocations: 87.98 kB / 0.8872 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.6112, allocations: 1.042 MB / 0.8882 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.6113, allocations: 3.984 kB / 0.8882 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.031e-05/0.6113, allocations: 36 kB / 0.8883 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.016e-05/0.6114, allocations: 42 kB / 0.8883 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.6128, allocations: 0.8805 MB / 0.8892 GB, free: 8.809 MB / 0.6544 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.004199/0.617, allocations: 4.28 MB / 0.8934 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009914/0.618, allocations: 0.6938 MB / 0.894 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007449/0.6188, allocations: 455 kB / 0.8945 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005526/0.6193, allocations: 0.6732 MB / 0.8951 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.6194, allocations: 39.12 kB / 0.8952 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.054e-06/0.6194, allocations: 4 kB / 0.8952 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.001732/0.6211, allocations: 0.9977 MB / 0.8961 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.6212, allocations: 63.91 kB / 0.8962 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006606/0.6218, allocations: 0.6334 MB / 0.8968 GB, free: 448 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.369e-05/0.6219, allocations: 37.7 kB / 0.8969 GB, free: 404 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.6222, allocations: 432.1 kB / 0.8973 GB, free: 15.96 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.6224, allocations: 248.3 kB / 0.8975 GB, free: 15.72 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.6225, allocations: 122.2 kB / 0.8976 GB, free: 15.59 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.6227, allocations: 390.7 kB / 0.898 GB, free: 15.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/0.6231, allocations: 273.2 kB / 0.8983 GB, free: 14.93 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.6237, allocations: 366.7 kB / 0.8986 GB, free: 14.55 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009638/0.6246, allocations: 0.6548 MB / 0.8992 GB, free: 13.87 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.6246, allocations: 0 / 0.8992 GB, free: 13.87 MB / 0.67 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001184/0.6258, allocations: 0.7931 MB / 0.9 GB, free: 13.07 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.6259, allocations: 5.719 kB / 0.9 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.6259, allocations: 0 / 0.9 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.6259, allocations: 8 kB / 0.9 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006326/0.6265, allocations: 147.7 kB / 0.9002 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.6265, allocations: 7.984 kB / 0.9002 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006895/0.6272, allocations: 57.5 kB / 0.9002 GB, free: 12.85 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.6273, allocations: 20.81 kB / 0.9003 GB, free: 12.83 MB / 0.67 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.0003213/0.6276, allocations: 293.5 kB / 0.9005 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.6278, allocations: 83.06 kB / 0.9006 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.6291, allocations: 0.8099 MB / 0.9014 GB, free: 11.63 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.6291, allocations: 8 kB / 0.9014 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6291, allocations: 0 / 0.9014 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001012/0.6301, allocations: 0.8075 MB / 0.9022 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/0.6325, allocations: 1.845 MB / 0.904 GB, free: 8.867 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.6325, allocations: 0.8125 kB / 0.904 GB, free: 8.867 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008083/0.6333, allocations: 175.8 kB / 0.9042 GB, free: 8.695 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.6334, allocations: 0 / 0.9042 GB, free: 8.695 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-05/0.6334, allocations: 16 kB / 0.9042 GB, free: 8.68 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.6334, allocations: 0 / 0.9042 GB, free: 8.68 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6334, allocations: 7.938 kB / 0.9042 GB, free: 8.672 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.6351, allocations: 1.277 MB / 0.9054 GB, free: 7.375 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/0.6355, allocations: 248 kB / 0.9057 GB, free: 7.113 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-05/0.6356, allocations: 16 kB / 0.9057 GB, free: 7.098 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006065/0.6362, allocations: 19.98 kB / 0.9057 GB, free: 7.078 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.6363, allocations: 44.5 kB / 0.9058 GB, free: 7.035 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.6363, allocations: 23.98 kB / 0.9058 GB, free: 7.012 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004633/0.6368, allocations: 455 kB / 0.9062 GB, free: 6.574 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6368, allocations: 0 / 0.9062 GB, free: 6.574 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006676/0.6375, allocations: 339.2 kB / 0.9065 GB, free: 6.242 MB / 0.67 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.002073/0.6396, allocations: 1.923 MB / 0.9084 GB, free: 4.293 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.6406, allocations: 0.6796 MB / 0.9091 GB, free: 3.613 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6406, allocations: 0 / 0.9091 GB, free: 3.613 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004965/0.6411, allocations: 379 kB / 0.9094 GB, free: 3.242 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/0.6433, allocations: 0.5424 MB / 0.91 GB, free: 2.715 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008339/0.6516, allocations: 6.904 MB / 0.9167 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.6522, allocations: 1.089 MB / 0.9178 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006389/0.6528, allocations: 227.2 kB / 0.918 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004594/0.6533, allocations: 363.3 kB / 0.9183 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of SimCode: time 2.4e-07/0.6533, allocations: 0 / 0.9183 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07547/0.7288, allocations: 25.34 MB / 0.9431 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.209/9.938, allocations: 5.656 kB / 0.9431 GB, free: 0.8984 MB / 0.7012 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)