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.001158/0.001158, allocations: 104 kB / 15.98 MB, free: 6.352 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.00121/0.00121, allocations: 190.5 kB / 16.91 MB, free: 6.195 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.321/1.321, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7309/0.7309, allocations: 115.3 MB / 406.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 71.89 kB / 493.2 MB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4527, allocations: 76.17 MB / 0.556 GB, free: 36.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.553/1.006, allocations: 199.4 MB / 0.7507 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0105/1.016, allocations: 7.35 MB / 0.7579 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/1.018, allocations: 33.69 kB / 0.7579 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001792/1.02, allocations: 0.6255 MB / 0.7585 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006268/1.026, allocations: 2.252 MB / 0.7607 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003383/1.03, allocations: 1.142 MB / 0.7618 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004626/1.034, allocations: 2.909 MB / 0.7647 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/1.036, allocations: 0.9349 MB / 0.7656 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002373/1.038, allocations: 1.027 MB / 0.7666 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00233/1.041, allocations: 1.024 MB / 0.7676 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002043/1.041, allocations: 110.8 kB / 0.7677 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004819/1.046, allocations: 2.234 MB / 0.7699 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005614/1.046, allocations: 455.7 kB / 0.7703 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001096/1.047, allocations: 0.6602 MB / 0.771 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004964/1.052, allocations: 2.545 MB / 0.7734 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.052, allocations: 0 / 0.7734 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.843e-06/1.052, allocations: 1.844 kB / 0.7734 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.64e-05/1.052, allocations: 0 / 0.7734 GB, free: 1.441 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.003999/1.056, allocations: 1.623 MB / 0.775 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/1.056, allocations: 8.688 kB / 0.775 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001631/1.057, allocations: 152.4 kB / 0.7752 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002668/1.059, allocations: 376.8 kB / 0.7755 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/1.061, allocations: 0.8058 MB / 0.7763 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/1.061, allocations: 67.08 kB / 0.7764 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/1.061, allocations: 84.62 kB / 0.7765 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/1.063, allocations: 1.043 MB / 0.7775 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/1.063, allocations: 8.969 kB / 0.7775 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-05/1.063, allocations: 36.11 kB / 0.7775 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.501e-05/1.063, allocations: 44.5 kB / 0.7776 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/1.064, allocations: 0.8829 MB / 0.7784 GB, free: 16.04 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.004475/1.069, allocations: 4.288 MB / 0.7826 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/1.07, allocations: 0.6907 MB / 0.7833 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006253/1.071, allocations: 452.9 kB / 0.7837 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005643/1.071, allocations: 0.6767 MB / 0.7844 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/1.071, allocations: 42.06 kB / 0.7844 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.755e-06/1.071, allocations: 0.75 kB / 0.7844 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.001672/1.073, allocations: 0.992 MB / 0.7854 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/1.073, allocations: 63.17 kB / 0.7855 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006888/1.074, allocations: 0.6362 MB / 0.7861 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.303e-05/1.074, allocations: 40.64 kB / 0.7861 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/1.074, allocations: 428.3 kB / 0.7865 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/1.074, allocations: 252.9 kB / 0.7868 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/1.075, allocations: 117.6 kB / 0.7869 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001887/1.075, allocations: 391.3 kB / 0.7873 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000515/1.075, allocations: 272.5 kB / 0.7875 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/1.076, allocations: 358.1 kB / 0.7879 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008511/1.077, allocations: 0.6658 MB / 0.7885 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.077, allocations: 0.875 kB / 0.7885 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001144/1.078, allocations: 0.79 MB / 0.7893 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/1.078, allocations: 7.219 kB / 0.7893 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.078, allocations: 2.062 kB / 0.7893 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/1.078, allocations: 6.188 kB / 0.7893 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/1.078, allocations: 145.8 kB / 0.7894 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/1.078, allocations: 6.109 kB / 0.7894 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/1.08, allocations: 115.7 kB / 0.7896 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/1.08, allocations: 24.75 kB / 0.7896 GB, free: 11.51 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004174/1.08, allocations: 285.6 kB / 0.7898 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/1.08, allocations: 87.53 kB / 0.7899 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/1.082, allocations: 0.7985 MB / 0.7907 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/1.082, allocations: 10.73 kB / 0.7907 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/1.082, allocations: 2.844 kB / 0.7907 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009854/1.083, allocations: 0.8185 MB / 0.7915 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/1.085, allocations: 1.853 MB / 0.7933 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.085, allocations: 0 / 0.7933 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008672/1.086, allocations: 175.7 kB / 0.7935 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/1.086, allocations: 1.844 kB / 0.7935 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.044e-05/1.086, allocations: 16.48 kB / 0.7935 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/1.086, allocations: 7.312 kB / 0.7935 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.086, allocations: 0 / 0.7935 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/1.088, allocations: 1.192 MB / 0.7947 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004782/1.088, allocations: 253.8 kB / 0.7949 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/1.089, allocations: 13.91 kB / 0.7949 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008685/1.09, allocations: 71.7 kB / 0.795 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/1.09, allocations: 46.48 kB / 0.7951 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/1.09, allocations: 20.83 kB / 0.7951 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005175/1.09, allocations: 459.7 kB / 0.7955 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.01e-07/1.09, allocations: 0.875 kB / 0.7955 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001099/1.091, allocations: 340.4 kB / 0.7958 GB, free: 10.2 MB / 0.5919 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.002206/1.094, allocations: 1.837 MB / 0.7976 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001534/1.095, allocations: 0.8147 MB / 0.7984 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.095, allocations: 1.031 kB / 0.7984 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004668/1.096, allocations: 371.8 kB / 0.7988 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/1.098, allocations: 0.5506 MB / 0.7993 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/1.11, allocations: 7.554 MB / 0.8067 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007593/1.111, allocations: 1.091 MB / 0.8078 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001234/1.112, allocations: 227.2 kB / 0.808 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/1.113, allocations: 359.6 kB / 0.8083 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of SimCode: time 1.383e-06/1.113, allocations: 0 / 0.8083 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04637/1.159, allocations: 24.85 MB / 0.8326 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/1.16, allocations: 194 kB / 0.8328 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/3.44, allocations: 64 / 0.8328 GB, free: 3.816 MB / 0.6075 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)