Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7393/0.7393, allocations: 128.7 MB / 143.7 MB, free: 2.305 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 180.8 kB / 173.7 MB, free: 6.117 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.4 MB / 409 MB, free: 10.49 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009848/0.0009851, allocations: 91.83 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004614/0.0004613, allocations: 11.75 kB / 0.5604 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.184, allocations: 76.75 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.897/6.081, allocations: 2.15 GB / 2.786 GB, free: 225.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/6.082, allocations: 93.39 kB / 2.786 GB, free: 225.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.148/8.23, allocations: 0.6489 GB / 3.435 GB, free: 60.83 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.032e-06/8.23, allocations: 0 / 3.435 GB, free: 60.83 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.453e-05/8.23, allocations: 28 kB / 3.435 GB, free: 60.8 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003891/8.234, allocations: 1.568 MB / 3.436 GB, free: 59.19 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/8.234, allocations: 8.031 kB / 3.436 GB, free: 59.18 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/8.234, allocations: 139.4 kB / 3.437 GB, free: 59.04 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002293/8.236, allocations: 374.9 kB / 3.437 GB, free: 58.67 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/8.238, allocations: 0.8835 MB / 3.438 GB, free: 57.74 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.888e-05/8.238, allocations: 66 kB / 3.438 GB, free: 57.68 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/8.238, allocations: 91.91 kB / 3.438 GB, free: 57.59 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/8.24, allocations: 1.043 MB / 3.439 GB, free: 56.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/8.24, allocations: 3.938 kB / 3.439 GB, free: 56.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.808e-05/8.24, allocations: 36 kB / 3.439 GB, free: 56.46 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.557e-05/8.24, allocations: 34 kB / 3.439 GB, free: 56.43 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/8.241, allocations: 0.8666 MB / 3.44 GB, free: 55.57 MB / 0.6511 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.004002/8.245, allocations: 4.46 MB / 3.444 GB, free: 50.74 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008283/8.246, allocations: 0.6279 MB / 3.445 GB, free: 50.11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005274/8.247, allocations: 0.6849 MB / 3.446 GB, free: 49.28 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/8.247, allocations: 43.08 kB / 3.446 GB, free: 49.23 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=70): time 2.304e-06/8.247, allocations: 0 / 3.446 GB, free: 49.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.001545/8.248, allocations: 0.9786 MB / 3.447 GB, free: 48.24 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/8.248, allocations: 59.97 kB / 3.447 GB, free: 48.17 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005582/8.249, allocations: 0.5544 MB / 3.447 GB, free: 47.61 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.633e-05/8.249, allocations: 41.7 kB / 3.447 GB, free: 47.56 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/8.249, allocations: 428.1 kB / 3.448 GB, free: 47.14 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/8.249, allocations: 252.4 kB / 3.448 GB, free: 46.89 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/8.249, allocations: 15.94 kB / 3.448 GB, free: 46.87 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001288/8.249, allocations: 382.8 kB / 3.448 GB, free: 46.49 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/8.25, allocations: 273.2 kB / 3.448 GB, free: 46.22 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004241/8.25, allocations: 372.5 kB / 3.449 GB, free: 45.82 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004363/8.251, allocations: 322.4 kB / 3.449 GB, free: 45.52 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/8.251, allocations: 0 / 3.449 GB, free: 45.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001006/8.252, allocations: 0.7852 MB / 3.45 GB, free: 44.72 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/8.252, allocations: 8 kB / 3.45 GB, free: 44.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/8.252, allocations: 3.953 kB / 3.45 GB, free: 44.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/8.252, allocations: 4 kB / 3.45 GB, free: 44.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/8.252, allocations: 147.7 kB / 3.45 GB, free: 44.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/8.252, allocations: 8 kB / 3.45 GB, free: 44.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008833/8.253, allocations: 103.5 kB / 3.45 GB, free: 44.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/8.253, allocations: 24 kB / 3.45 GB, free: 44.43 MB / 0.6511 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.0003594/8.254, allocations: 289.6 kB / 3.45 GB, free: 44.14 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/8.254, allocations: 86.97 kB / 3.451 GB, free: 44.05 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/8.255, allocations: 0.7845 MB / 3.451 GB, free: 43.25 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/8.255, allocations: 7.953 kB / 3.451 GB, free: 43.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/8.255, allocations: 4 kB / 3.451 GB, free: 43.24 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008659/8.256, allocations: 0.8039 MB / 3.452 GB, free: 42.39 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009879/8.257, allocations: 0.9735 MB / 3.453 GB, free: 41.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/8.257, allocations: 0 / 3.453 GB, free: 41.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007993/8.258, allocations: 167.8 kB / 3.453 GB, free: 41.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/8.258, allocations: 0 / 3.453 GB, free: 41.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.612e-05/8.258, allocations: 16 kB / 3.453 GB, free: 41.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/8.258, allocations: 3.984 kB / 3.453 GB, free: 41.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/8.258, allocations: 7.953 kB / 3.453 GB, free: 41.17 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/8.259, allocations: 1.249 MB / 3.454 GB, free: 39.91 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/8.26, allocations: 255.8 kB / 3.455 GB, free: 39.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/8.26, allocations: 16 kB / 3.455 GB, free: 39.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000742/8.261, allocations: 75.84 kB / 3.455 GB, free: 39.55 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.593e-05/8.261, allocations: 44.39 kB / 3.455 GB, free: 39.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/8.261, allocations: 31.92 kB / 3.455 GB, free: 39.47 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000433/8.261, allocations: 451 kB / 3.455 GB, free: 39.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/8.261, allocations: 0 / 3.455 GB, free: 39.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001392/8.263, allocations: 487.1 kB / 3.456 GB, free: 38.56 MB / 0.6511 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.003641/8.266, allocations: 3.305 MB / 3.459 GB, free: 35.17 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009539/8.267, allocations: 0.6679 MB / 3.46 GB, free: 34.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/8.267, allocations: 4 kB / 3.46 GB, free: 34.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004122/8.268, allocations: 355 kB / 3.46 GB, free: 34.15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/8.27, allocations: 0.5076 MB / 3.46 GB, free: 33.65 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006961/8.277, allocations: 6.63 MB / 3.467 GB, free: 26.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/8.277, allocations: 1.112 MB / 3.468 GB, free: 25.74 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009219/8.278, allocations: 235.1 kB / 3.468 GB, free: 25.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004427/8.278, allocations: 363.3 kB / 3.469 GB, free: 25.15 MB / 0.6511 GB Notification: Performance of SimCode: time 4.61e-07/8.278, allocations: 0 / 3.469 GB, free: 25.15 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.488/8.766, allocations: 49.37 MB / 3.517 GB, free: 115.7 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/8.767, allocations: 189.7 kB / 3.517 GB, free: 115.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.483/12.25, allocations: 0 / 3.517 GB, free: 115.5 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)