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.001685/0.001685, allocations: 99.39 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.001858/0.001858, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.618/2.618, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.544/1.544, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006598/0.00066, allocations: 8 kB / 0.5069 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3132, allocations: 82.31 MB / 0.5873 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.9062/1.22, allocations: 167.1 MB / 0.7504 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02411/1.244, allocations: 7.34 MB / 0.7576 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003074/1.247, allocations: 27.81 kB / 0.7576 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00422/1.251, allocations: 0.6416 MB / 0.7582 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01365/1.265, allocations: 2.088 MB / 0.7603 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00613/1.271, allocations: 0.9755 MB / 0.7612 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006559/1.278, allocations: 1.683 MB / 0.7629 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002567/1.28, allocations: 0.6852 MB / 0.7636 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003915/1.284, allocations: 0.802 MB / 0.7643 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002464/1.287, allocations: 0.607 MB / 0.7649 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004939/1.287, allocations: 48 kB / 0.765 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005009/1.292, allocations: 0.8931 MB / 0.7658 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001186/1.293, allocations: 347 kB / 0.7662 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001104/1.295, allocations: 265.1 kB / 0.7664 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004474/1.299, allocations: 1.468 MB / 0.7679 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.299, allocations: 4 kB / 0.7679 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.895e-06/1.299, allocations: 0 / 0.7679 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.381e-05/1.299, allocations: 0 / 0.7679 GB, free: 3.605 MB / 0.5762 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.006352/1.306, allocations: 1.381 MB / 0.7692 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.974e-05/1.306, allocations: 12.03 kB / 0.7692 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005831/1.306, allocations: 139.2 kB / 0.7694 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005301/1.312, allocations: 378.2 kB / 0.7697 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003574/1.315, allocations: 0.7816 MB / 0.7705 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/1.316, allocations: 70.48 kB / 0.7706 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004673/1.316, allocations: 91.89 kB / 0.7706 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004121/1.32, allocations: 1.03 MB / 0.7716 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.149e-05/1.32, allocations: 0 / 0.7716 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/1.32, allocations: 43.88 kB / 0.7717 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001296/1.321, allocations: 49.98 kB / 0.7717 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003295/1.324, allocations: 0.8744 MB / 0.7726 GB, free: 14.64 MB / 0.5919 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.01108/1.335, allocations: 4.273 MB / 0.7768 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/1.337, allocations: 0.6845 MB / 0.7774 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/1.339, allocations: 0.6693 MB / 0.7781 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.434e-05/1.339, allocations: 43.12 kB / 0.7781 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 8.396e-06/1.339, allocations: 0 / 0.7781 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.003716/1.342, allocations: 0.9977 MB / 0.7791 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/1.343, allocations: 59.97 kB / 0.7792 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/1.344, allocations: 0.6295 MB / 0.7798 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001469/1.344, allocations: 45.7 kB / 0.7798 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005685/1.345, allocations: 440 kB / 0.7802 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005293/1.346, allocations: 244.4 kB / 0.7805 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.171e-05/1.346, allocations: 12 kB / 0.7805 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0003071/1.346, allocations: 386.8 kB / 0.7808 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008717/1.347, allocations: 273.2 kB / 0.7811 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009918/1.348, allocations: 366.8 kB / 0.7815 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/1.349, allocations: 323.1 kB / 0.7818 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/1.349, allocations: 4 kB / 0.7818 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002582/1.352, allocations: 0.789 MB / 0.7825 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/1.352, allocations: 8 kB / 0.7825 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/1.352, allocations: 3.562 kB / 0.7826 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.625e-05/1.352, allocations: 8 kB / 0.7826 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/1.353, allocations: 151.9 kB / 0.7827 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.942e-05/1.353, allocations: 4 kB / 0.7827 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/1.355, allocations: 102.1 kB / 0.7828 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/1.355, allocations: 23.98 kB / 0.7828 GB, free: 3.566 MB / 0.5919 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.0009558/1.356, allocations: 289.7 kB / 0.7831 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004434/1.357, allocations: 87.02 kB / 0.7832 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002583/1.359, allocations: 0.7842 MB / 0.784 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/1.359, allocations: 12 kB / 0.784 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/1.359, allocations: 0 / 0.784 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001977/1.361, allocations: 0.8113 MB / 0.7848 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/1.364, allocations: 0.9734 MB / 0.7857 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/1.364, allocations: 0 / 0.7857 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/1.365, allocations: 167.8 kB / 0.7859 GB, free: 340 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-05/1.365, allocations: 11.95 kB / 0.7859 GB, free: 328 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.541e-05/1.366, allocations: 19.98 kB / 0.7859 GB, free: 308 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/1.366, allocations: 7.938 kB / 0.7859 GB, free: 300 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.366, allocations: 0 / 0.7859 GB, free: 300 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003633/1.369, allocations: 1.272 MB / 0.7871 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009256/1.37, allocations: 251.8 kB / 0.7874 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/1.371, allocations: 15.95 kB / 0.7874 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/1.372, allocations: 77.38 kB / 0.7875 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/1.372, allocations: 40.5 kB / 0.7875 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/1.372, allocations: 23.98 kB / 0.7875 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00117/1.374, allocations: 447 kB / 0.788 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.986e-06/1.374, allocations: 4 kB / 0.788 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001793/1.376, allocations: 339.2 kB / 0.7883 GB, free: 13.82 MB / 0.6075 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 (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.004292/1.38, allocations: 1.907 MB / 0.7902 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002055/1.382, allocations: 0.6718 MB / 0.7908 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.382, allocations: 0 / 0.7908 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/1.383, allocations: 375.4 kB / 0.7912 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004486/1.387, allocations: 0.5074 MB / 0.7917 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01878/1.406, allocations: 6.643 MB / 0.7981 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/1.408, allocations: 1.108 MB / 0.7992 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002068/1.41, allocations: 227.2 kB / 0.7994 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009046/1.411, allocations: 359.3 kB / 0.7998 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of SimCode: time 1.764e-06/1.411, allocations: 0 / 0.7998 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08301/1.494, allocations: 25.08 MB / 0.8243 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003182/1.494, allocations: 186.4 kB / 0.8245 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.615/5.109, allocations: 4 kB / 0.8245 GB, free: 8.902 MB / 0.6387 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/linux/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) Environment - environmentSimulation: