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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 109.6 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9469/0.9469, allocations: 145 MB / 453.8 MB, free: 0.707 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 70.44 kB / 0.628 GB, free: 10.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1963, allocations: 87.82 MB / 0.7138 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.6259/0.8222, allocations: 205.8 MB / 0.9147 GB, free: 2.461 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01213/0.8344, allocations: 7.406 MB / 0.922 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.8359, allocations: 51.62 kB / 0.922 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.8378, allocations: 0.7304 MB / 0.9227 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.006616/0.8444, allocations: 2.489 MB / 0.9252 GB, free: 7.754 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003556/0.848, allocations: 1.252 MB / 0.9264 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004738/0.8527, allocations: 2.914 MB / 0.9292 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.8541, allocations: 0.7792 MB / 0.93 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/0.8565, allocations: 1.074 MB / 0.9311 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002436/0.8589, allocations: 1.022 MB / 0.9321 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002561/0.8592, allocations: 112 kB / 0.9322 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004649/0.8638, allocations: 2.264 MB / 0.9344 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006894/0.8645, allocations: 470.6 kB / 0.9348 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.8655, allocations: 0.6572 MB / 0.9355 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005003/0.8705, allocations: 2.496 MB / 0.9379 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.8706, allocations: 0 / 0.9379 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8706, allocations: 0 / 0.9379 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.262e-05/0.8706, allocations: 0 / 0.9379 GB, free: 10.68 MB / 0.7169 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.003793/0.8744, allocations: 1.673 MB / 0.9395 GB, free: 8.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.8744, allocations: 8.031 kB / 0.9395 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001963/0.8746, allocations: 135.3 kB / 0.9397 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002646/0.8773, allocations: 386.8 kB / 0.94 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.8789, allocations: 0.852 MB / 0.9409 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/0.8789, allocations: 66 kB / 0.9409 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.8791, allocations: 91.94 kB / 0.941 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.8809, allocations: 1.042 MB / 0.942 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.881, allocations: 0 / 0.942 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.371e-05/0.8811, allocations: 32 kB / 0.9421 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-05/0.8811, allocations: 45.98 kB / 0.9421 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.8828, allocations: 0.8861 MB / 0.943 GB, free: 5.34 MB / 0.7169 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.005613/0.8884, allocations: 4.312 MB / 0.9472 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.8896, allocations: 0.6583 MB / 0.9478 GB, free: 4 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008595/0.8905, allocations: 435.8 kB / 0.9482 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007019/0.8912, allocations: 0.6693 MB / 0.9489 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.8912, allocations: 39.12 kB / 0.9489 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 2.685e-06/0.8912, allocations: 4 kB / 0.9489 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.002146/0.8934, allocations: 0.9943 MB / 0.9499 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.8934, allocations: 59.97 kB / 0.95 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008953/0.8943, allocations: 0.6334 MB / 0.9506 GB, free: 13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.228e-05/0.8944, allocations: 37.7 kB / 0.9506 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/0.8948, allocations: 448.7 kB / 0.9511 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/0.895, allocations: 265.7 kB / 0.9513 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.8952, allocations: 118.3 kB / 0.9514 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002115/0.8955, allocations: 394.7 kB / 0.9518 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/0.896, allocations: 273.2 kB / 0.9521 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/0.8966, allocations: 353.1 kB / 0.9524 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.8977, allocations: 0.6587 MB / 0.953 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.8977, allocations: 3.938 kB / 0.953 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001503/0.8992, allocations: 0.8052 MB / 0.9538 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.8992, allocations: 8 kB / 0.9538 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.8992, allocations: 0.875 kB / 0.9538 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.8992, allocations: 4 kB / 0.9538 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006642/0.8999, allocations: 139.8 kB / 0.954 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.8999, allocations: 4 kB / 0.954 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008111/0.9007, allocations: 59.8 kB / 0.954 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.9008, allocations: 27.94 kB / 0.9541 GB, free: 9.367 MB / 0.7325 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.0004833/0.9013, allocations: 285.6 kB / 0.9543 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.9014, allocations: 91.44 kB / 0.9544 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.903, allocations: 0.8014 MB / 0.9552 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.903, allocations: 10.06 kB / 0.9552 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.903, allocations: 0 / 0.9552 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0012/0.9042, allocations: 0.8152 MB / 0.956 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/0.9072, allocations: 1.857 MB / 0.9578 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.9072, allocations: 7.938 kB / 0.9578 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000882/0.908, allocations: 163.8 kB / 0.958 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.508e-05/0.9081, allocations: 7.984 kB / 0.958 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.265e-05/0.9081, allocations: 16 kB / 0.958 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.9081, allocations: 4 kB / 0.958 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.9081, allocations: 0 / 0.958 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.9101, allocations: 1.199 MB / 0.9592 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004834/0.9106, allocations: 256.3 kB / 0.9594 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.9107, allocations: 12 kB / 0.9594 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006626/0.9113, allocations: 29.23 kB / 0.9595 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.9115, allocations: 44.44 kB / 0.9595 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.939e-05/0.9115, allocations: 27.98 kB / 0.9595 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000638/0.9122, allocations: 451 kB / 0.96 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.9122, allocations: 0 / 0.96 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000955/0.9131, allocations: 339.4 kB / 0.9603 GB, free: 2.832 MB / 0.7325 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.002488/0.9156, allocations: 1.849 MB / 0.9621 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.9168, allocations: 0.6405 MB / 0.9627 GB, free: 332 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9168, allocations: 0 / 0.9627 GB, free: 332 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006034/0.9174, allocations: 351.1 kB / 0.9631 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/0.9201, allocations: 0.546 MB / 0.9636 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.931, allocations: 6.968 MB / 0.9704 GB, free: 8.305 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00081/0.9318, allocations: 1.089 MB / 0.9715 GB, free: 7.191 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009669/0.9328, allocations: 235.1 kB / 0.9717 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005945/0.9334, allocations: 355.3 kB / 0.972 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of SimCode: time 1.523e-06/0.9334, allocations: 4 kB / 0.972 GB, free: 6.605 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06294/0.9963, allocations: 25.47 MB / 0.9969 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.323/10.32, allocations: 12.27 kB / 0.9969 GB, free: 13.51 MB / 0.7794 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.184993232003762] Failed to read output from testmodel.py, exit status != 0: 10.410265357990284 10.439507816 9.563968617 Calling exit ...