Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IBPSA_latest_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.001253/0.001253, allocations: 109 kB / 16.41 MB, free: 6.445 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.001241/0.001241, allocations: 193.2 kB / 17.34 MB, free: 5.707 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.255/1.255, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6565/0.6565, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 67.97 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1248, allocations: 76.18 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.4567/0.5816, allocations: 201.9 MB / 0.8288 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008869/0.5905, allocations: 7.391 MB / 0.836 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.5916, allocations: 37.19 kB / 0.836 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.5932, allocations: 0.6936 MB / 0.8367 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004788/0.598, allocations: 2.402 MB / 0.8391 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00271/0.6007, allocations: 1.241 MB / 0.8403 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003187/0.6039, allocations: 2.913 MB / 0.8431 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.6052, allocations: 0.95 MB / 0.844 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.6068, allocations: 1.044 MB / 0.8451 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/0.6087, allocations: 0.9601 MB / 0.846 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002412/0.6089, allocations: 110 kB / 0.8461 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003764/0.6127, allocations: 2.132 MB / 0.8482 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00061/0.6133, allocations: 447.2 kB / 0.8486 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.6145, allocations: 0.6689 MB / 0.8493 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004129/0.6186, allocations: 2.404 MB / 0.8516 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.6186, allocations: 0 / 0.8516 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6187, allocations: 0 / 0.8516 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.035e-05/0.6187, allocations: 0 / 0.8516 GB, free: 11.3 MB / 0.6075 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.004228/0.623, allocations: 1.63 MB / 0.8532 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.623, allocations: 12.03 kB / 0.8532 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002293/0.6233, allocations: 135.3 kB / 0.8534 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002574/0.6258, allocations: 373.5 kB / 0.8537 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.6273, allocations: 0.851 MB / 0.8545 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.194e-05/0.6273, allocations: 68.02 kB / 0.8546 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.6275, allocations: 87.84 kB / 0.8547 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.6291, allocations: 1.044 MB / 0.8557 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.6291, allocations: 4 kB / 0.8557 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.068e-05/0.6292, allocations: 34.11 kB / 0.8557 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.716e-05/0.6293, allocations: 45.98 kB / 0.8558 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.6308, allocations: 0.8744 MB / 0.8566 GB, free: 6.16 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.005329/0.6362, allocations: 4.3 MB / 0.8608 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.6374, allocations: 0.6934 MB / 0.8615 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008007/0.6382, allocations: 461.5 kB / 0.862 GB, free: 400 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007304/0.6389, allocations: 0.6771 MB / 0.8626 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.639, allocations: 39.12 kB / 0.8627 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.425e-06/0.639, allocations: 0 / 0.8627 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.001816/0.6408, allocations: 1.002 MB / 0.8636 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.6409, allocations: 55.97 kB / 0.8637 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007088/0.6416, allocations: 0.6373 MB / 0.8643 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/0.6416, allocations: 37.7 kB / 0.8643 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.6419, allocations: 431.2 kB / 0.8648 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.6422, allocations: 249.4 kB / 0.865 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.6424, allocations: 122.2 kB / 0.8651 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.6426, allocations: 386.7 kB / 0.8655 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.643, allocations: 285.1 kB / 0.8658 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/0.6435, allocations: 353.1 kB / 0.8661 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009481/0.6445, allocations: 0.6587 MB / 0.8667 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.6445, allocations: 4 kB / 0.8667 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001206/0.6457, allocations: 0.8012 MB / 0.8675 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.6457, allocations: 8 kB / 0.8675 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.6457, allocations: 0 / 0.8675 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.6457, allocations: 4 kB / 0.8675 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/0.6464, allocations: 143.8 kB / 0.8677 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.6464, allocations: 8 kB / 0.8677 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006974/0.6471, allocations: 48.33 kB / 0.8677 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/0.6472, allocations: 28.12 kB / 0.8677 GB, free: 10.21 MB / 0.6231 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.0003451/0.6475, allocations: 293.6 kB / 0.868 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.6477, allocations: 82.97 kB / 0.8681 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.6489, allocations: 0.7959 MB / 0.8689 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.649, allocations: 8 kB / 0.8689 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.649, allocations: 0 / 0.8689 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009852/0.6499, allocations: 0.8113 MB / 0.8697 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.6525, allocations: 1.863 MB / 0.8715 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.6525, allocations: 3.938 kB / 0.8715 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007995/0.6533, allocations: 167.8 kB / 0.8717 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.6533, allocations: 4 kB / 0.8717 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-05/0.6533, allocations: 19.98 kB / 0.8717 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.6534, allocations: 8 kB / 0.8717 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6534, allocations: 0 / 0.8717 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.655, allocations: 1.193 MB / 0.8729 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/0.6554, allocations: 247.8 kB / 0.8731 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.6555, allocations: 16 kB / 0.8731 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006115/0.6561, allocations: 21.3 kB / 0.8731 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.6562, allocations: 48.5 kB / 0.8732 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/0.6563, allocations: 16 kB / 0.8732 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005114/0.6568, allocations: 463 kB / 0.8736 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6568, allocations: 3.938 kB / 0.8736 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007706/0.6576, allocations: 331.2 kB / 0.874 GB, free: 3.699 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 (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.002054/0.6596, allocations: 1.844 MB / 0.8758 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001037/0.6607, allocations: 0.6798 MB / 0.8764 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6607, allocations: 0 / 0.8764 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004892/0.6612, allocations: 371 kB / 0.8768 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.6632, allocations: 0.5408 MB / 0.8773 GB, free: 288 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008938/0.6722, allocations: 6.951 MB / 0.8841 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006699/0.6728, allocations: 1.092 MB / 0.8852 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007548/0.6736, allocations: 227.2 kB / 0.8854 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004681/0.6741, allocations: 359.3 kB / 0.8857 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/0.6741, allocations: 4 kB / 0.8857 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04842/0.7225, allocations: 25.68 MB / 0.9108 GB, free: 14.09 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.831, allocations: 14.09 kB / 0.9108 GB, free: 14.09 MB / 0.67 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)