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.004636/0.004636, allocations: 101.5 kB / 15.88 MB, free: 6.32 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.001152/0.001152, allocations: 195.3 kB / 16.79 MB, free: 6.246 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.173/1.173, allocations: 222.9 MB / 240.5 MB, free: 15.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6292/0.6292, allocations: 115.3 MB / 405.9 MB, free: 6.422 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 59.89 kB / 493 MB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2636, allocations: 76.17 MB / 0.5558 GB, free: 36.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.4129/0.6765, allocations: 199.7 MB / 0.7508 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008466/0.685, allocations: 7.487 MB / 0.7582 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008182/0.6859, allocations: 32.34 kB / 0.7582 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.6873, allocations: 0.6113 MB / 0.7588 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004393/0.6917, allocations: 2.258 MB / 0.761 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002391/0.6941, allocations: 1.121 MB / 0.7621 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004153/0.6983, allocations: 4.167 MB / 0.7662 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009413/0.6992, allocations: 0.8134 MB / 0.7669 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.7005, allocations: 0.8767 MB / 0.7678 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.7021, allocations: 1.003 MB / 0.7688 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.7022, allocations: 59.47 kB / 0.7688 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003943/0.7062, allocations: 2.484 MB / 0.7713 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003752/0.7065, allocations: 401.5 kB / 0.7716 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006541/0.7072, allocations: 0.6123 MB / 0.7722 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00273/0.7099, allocations: 2.501 MB / 0.7747 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7099, allocations: 6.047 kB / 0.7747 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.21e-07/0.71, allocations: 0 / 0.7747 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.71, allocations: 0 / 0.7747 GB, free: 1.352 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.002833/0.7128, allocations: 1.625 MB / 0.7763 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.7129, allocations: 13.69 kB / 0.7763 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/0.713, allocations: 135.1 kB / 0.7764 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/0.7154, allocations: 377.8 kB / 0.7768 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.7164, allocations: 0.8127 MB / 0.7776 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.461e-05/0.7165, allocations: 60.09 kB / 0.7776 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.7166, allocations: 89.81 kB / 0.7777 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.7181, allocations: 1.042 MB / 0.7787 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.7181, allocations: 5.969 kB / 0.7787 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.703e-05/0.7182, allocations: 36.44 kB / 0.7788 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.129e-05/0.7182, allocations: 45.2 kB / 0.7788 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.7195, allocations: 0.8881 MB / 0.7797 GB, free: 15.93 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.003815/0.7233, allocations: 4.276 MB / 0.7839 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009152/0.7242, allocations: 0.6979 MB / 0.7845 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006038/0.7248, allocations: 458.9 kB / 0.785 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005491/0.7254, allocations: 0.6791 MB / 0.7856 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.7254, allocations: 39.94 kB / 0.7857 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 1.884e-06/0.7254, allocations: 0 / 0.7857 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.001495/0.7269, allocations: 0.9971 MB / 0.7867 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.727, allocations: 58.81 kB / 0.7867 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006025/0.7276, allocations: 0.6349 MB / 0.7873 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.7277, allocations: 37.83 kB / 0.7874 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.7279, allocations: 433.6 kB / 0.7878 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.7281, allocations: 247.5 kB / 0.788 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.7283, allocations: 120.7 kB / 0.7881 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.7284, allocations: 386.6 kB / 0.7885 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/0.7288, allocations: 278.9 kB / 0.7888 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/0.7293, allocations: 358.1 kB / 0.7891 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008483/0.7301, allocations: 0.6585 MB / 0.7898 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7302, allocations: 3.562 kB / 0.7898 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001054/0.7312, allocations: 0.7945 MB / 0.7905 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.7312, allocations: 9.062 kB / 0.7905 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.7313, allocations: 0.6094 kB / 0.7905 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.7313, allocations: 7.234 kB / 0.7905 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/0.7319, allocations: 148.1 kB / 0.7907 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.7319, allocations: 3.156 kB / 0.7907 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000821/0.7327, allocations: 116.7 kB / 0.7908 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/0.7327, allocations: 26.16 kB / 0.7908 GB, free: 11.33 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.0003136/0.7331, allocations: 287.7 kB / 0.7911 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.7332, allocations: 85.03 kB / 0.7912 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.7344, allocations: 0.797 MB / 0.792 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.7344, allocations: 8.219 kB / 0.792 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.7344, allocations: 0 / 0.792 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008972/0.7353, allocations: 0.8138 MB / 0.7928 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.7375, allocations: 1.861 MB / 0.7946 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.7375, allocations: 0 / 0.7946 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007599/0.7382, allocations: 169.6 kB / 0.7947 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.7383, allocations: 3.281 kB / 0.7947 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/0.7383, allocations: 12.53 kB / 0.7948 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.7383, allocations: 7.547 kB / 0.7948 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7383, allocations: 3.047 kB / 0.7948 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.7398, allocations: 1.193 MB / 0.7959 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/0.7401, allocations: 251.1 kB / 0.7962 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.7402, allocations: 20.16 kB / 0.7962 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006944/0.7409, allocations: 74.73 kB / 0.7963 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/0.741, allocations: 42.22 kB / 0.7963 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.741, allocations: 25.78 kB / 0.7963 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004222/0.7415, allocations: 449.9 kB / 0.7968 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7415, allocations: 1.094 kB / 0.7968 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006806/0.7422, allocations: 340.6 kB / 0.7971 GB, free: 9.996 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.001819/0.744, allocations: 1.834 MB / 0.7989 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009882/0.745, allocations: 0.6763 MB / 0.7995 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.745, allocations: 384 / 0.7995 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005095/0.7455, allocations: 375.2 kB / 0.7999 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.7476, allocations: 0.5281 MB / 0.8004 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008801/0.7564, allocations: 7.551 MB / 0.8078 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/0.7569, allocations: 1.09 MB / 0.8088 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007968/0.7577, allocations: 229.9 kB / 0.8091 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004033/0.7581, allocations: 354.1 kB / 0.8094 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.7581, allocations: 0 / 0.8094 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03375/0.7919, allocations: 24.11 MB / 0.833 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.7921, allocations: 197.8 kB / 0.8331 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.127/2.919, allocations: 0 / 0.8331 GB, free: 2.219 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)