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.7367/0.7367, allocations: 127.3 MB / 139.8 MB, free: 15.49 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 184.8 kB / 169.7 MB, free: 1.734 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.994/1.994, allocations: 205.1 MB / 404.5 MB, free: 1.68 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.0009092/0.0009092, allocations: 92.97 kB / 481.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.147e-05/4.151e-05, allocations: 4 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1921, allocations: 76.76 MB / 0.6282 GB, free: 9.945 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.324/6.516, allocations: 2.15 GB / 2.779 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003642/6.516, allocations: 94.86 kB / 2.779 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.712/9.228, allocations: 0.6483 GB / 3.427 GB, free: 97.85 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.773e-06/9.228, allocations: 2.906 kB / 3.427 GB, free: 97.85 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.74e-05/9.228, allocations: 29.25 kB / 3.427 GB, free: 97.85 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.004049/9.232, allocations: 1.394 MB / 3.428 GB, free: 97.44 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/9.232, allocations: 15.92 kB / 3.428 GB, free: 97.44 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001843/9.233, allocations: 133.3 kB / 3.429 GB, free: 97.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002626/9.235, allocations: 374.7 kB / 3.429 GB, free: 97.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/9.237, allocations: 0.8731 MB / 3.43 GB, free: 97.08 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.597e-05/9.237, allocations: 69.97 kB / 3.43 GB, free: 97.07 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/9.237, allocations: 86.19 kB / 3.43 GB, free: 97.07 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/9.239, allocations: 1.02 MB / 3.431 GB, free: 96.93 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/9.239, allocations: 5.094 kB / 3.431 GB, free: 96.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-05/9.239, allocations: 34.19 kB / 3.431 GB, free: 96.93 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.363e-05/9.239, allocations: 44.98 kB / 3.431 GB, free: 96.92 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/9.241, allocations: 0.8262 MB / 3.432 GB, free: 96.92 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.005466/9.246, allocations: 4.461 MB / 3.436 GB, free: 94.33 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/9.247, allocations: 0.611 MB / 3.437 GB, free: 94.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007821/9.248, allocations: 431.2 kB / 3.437 GB, free: 94.29 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005502/9.249, allocations: 0.6796 MB / 3.438 GB, free: 93.54 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/9.249, allocations: 41.62 kB / 3.438 GB, free: 93.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=70): time 2.985e-06/9.249, allocations: 3.609 kB / 3.438 GB, free: 93.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.001637/9.251, allocations: 0.6925 MB / 3.439 GB, free: 93.42 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/9.251, allocations: 62.31 kB / 3.439 GB, free: 93.36 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007541/9.251, allocations: 0.5508 MB / 3.439 GB, free: 93.23 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.543e-05/9.251, allocations: 43.95 kB / 3.439 GB, free: 93.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/9.252, allocations: 426.8 kB / 3.44 GB, free: 93.05 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000212/9.252, allocations: 254 kB / 3.44 GB, free: 92.92 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/9.252, allocations: 11 kB / 3.44 GB, free: 92.92 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001292/9.252, allocations: 392.2 kB / 3.44 GB, free: 92.61 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/9.252, allocations: 262.7 kB / 3.44 GB, free: 92.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/9.253, allocations: 355.9 kB / 3.441 GB, free: 92.51 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004512/9.253, allocations: 317.2 kB / 3.441 GB, free: 92.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/9.253, allocations: 0 / 3.441 GB, free: 92.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001086/9.254, allocations: 0.7563 MB / 3.442 GB, free: 92.41 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/9.254, allocations: 7.75 kB / 3.442 GB, free: 92.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/9.255, allocations: 0 / 3.442 GB, free: 92.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/9.255, allocations: 6.688 kB / 3.442 GB, free: 92.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/9.255, allocations: 143 kB / 3.442 GB, free: 92.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/9.255, allocations: 3.656 kB / 3.442 GB, free: 92.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/9.256, allocations: 107.5 kB / 3.442 GB, free: 92.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/9.256, allocations: 21.41 kB / 3.442 GB, free: 92.39 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 () * 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.0001541/9.257, allocations: 148.2 kB / 3.442 GB, free: 92.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/9.257, allocations: 85.03 kB / 3.442 GB, free: 92.24 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/9.258, allocations: 0.7537 MB / 3.443 GB, free: 92.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/9.258, allocations: 15.34 kB / 3.443 GB, free: 92.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/9.258, allocations: 0 / 3.443 GB, free: 92.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001034/9.259, allocations: 0.7844 MB / 3.444 GB, free: 91.92 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003719/9.263, allocations: 1.806 MB / 3.446 GB, free: 91.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/9.263, allocations: 0 / 3.446 GB, free: 91.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000842/9.264, allocations: 170.7 kB / 3.446 GB, free: 91.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.779e-06/9.264, allocations: 3.312 kB / 3.446 GB, free: 91.59 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.205e-05/9.264, allocations: 21.41 kB / 3.446 GB, free: 91.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/9.264, allocations: 0 / 3.446 GB, free: 91.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/9.264, allocations: 3.312 kB / 3.446 GB, free: 91.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/9.266, allocations: 1.216 MB / 3.447 GB, free: 91.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006694/9.266, allocations: 254.5 kB / 3.447 GB, free: 91.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/9.266, allocations: 22.58 kB / 3.447 GB, free: 91.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008656/9.267, allocations: 73.53 kB / 3.447 GB, free: 91.26 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-05/9.267, allocations: 40.06 kB / 3.447 GB, free: 91.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-05/9.267, allocations: 25.14 kB / 3.447 GB, free: 91.26 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006802/9.268, allocations: 450.4 kB / 3.448 GB, free: 91.16 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.41e-07/9.268, allocations: 0 / 3.448 GB, free: 91.16 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001814/9.27, allocations: 489.6 kB / 3.448 GB, free: 91.13 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 () * 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.004263/9.274, allocations: 3.27 MB / 3.451 GB, free: 90.04 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001212/9.275, allocations: 0.6344 MB / 3.452 GB, free: 90.03 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/9.275, allocations: 5.094 kB / 3.452 GB, free: 90.03 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004757/9.276, allocations: 345 kB / 3.452 GB, free: 90.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/9.279, allocations: 0.5168 MB / 3.453 GB, free: 90.01 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003891/9.283, allocations: 2.011 MB / 3.455 GB, free: 89.55 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005625/9.283, allocations: 1.111 MB / 3.456 GB, free: 88.85 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001088/9.284, allocations: 234 kB / 3.456 GB, free: 88.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005064/9.285, allocations: 360.8 kB / 3.457 GB, free: 88.83 MB / 0.6511 GB Notification: Performance of SimCode: time 2.094e-06/9.285, allocations: 1.781 kB / 3.457 GB, free: 88.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09547/9.38, allocations: 53.6 MB / 3.509 GB, free: 87.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/9.381, allocations: 167.2 kB / 3.509 GB, free: 86.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.207/13.59, allocations: 0 / 3.509 GB, free: 86.85 MB / 0.6511 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)