Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.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.001777/0.001777, allocations: 113 kB / 19.73 MB, free: 2.242 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.002286/0.002286, allocations: 215 kB / 23.04 MB, free: 5.078 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.9157/0.9157, allocations: 145 MB / 458.2 MB, free: 15.56 MB / 366.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.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="cs",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.001998/0.001998, allocations: 66.44 kB / 0.6339 GB, free: 7.426 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1823, allocations: 87.88 MB / 0.7197 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.6007/0.783, allocations: 208.5 MB / 0.9233 GB, free: 12.97 MB / 0.7013 GB Notification: Performance of NFInst.instExpressions: time 0.01132/0.7943, allocations: 6.407 MB / 0.9296 GB, free: 6.547 MB / 0.7013 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/0.796, allocations: 47.62 kB / 0.9296 GB, free: 6.5 MB / 0.7013 GB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.7981, allocations: 0.7733 MB / 0.9304 GB, free: 5.723 MB / 0.7013 GB Notification: Performance of NFTyping.typeBindings: time 0.008238/0.8063, allocations: 2.816 MB / 0.9331 GB, free: 2.895 MB / 0.7013 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.8086, allocations: 0.7475 MB / 0.9339 GB, free: 2.152 MB / 0.7013 GB Notification: Performance of NFFlatten.flatten: time 0.004987/0.8135, allocations: 3.356 MB / 0.9371 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.815, allocations: 0.8179 MB / 0.9379 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.8178, allocations: 1.316 MB / 0.9392 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.8206, allocations: 1.166 MB / 0.9404 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002494/0.8208, allocations: 128 kB / 0.9405 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005425/0.8262, allocations: 2.552 MB / 0.943 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000806/0.8271, allocations: 0.5297 MB / 0.9435 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001369/0.8284, allocations: 0.7353 MB / 0.9442 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006612/0.835, allocations: 2.9 MB / 0.947 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.835, allocations: 0 / 0.947 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.244e-06/0.835, allocations: 0 / 0.947 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.333e-05/0.8351, allocations: 4 kB / 0.947 GB, free: 4.598 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004802/0.8399, allocations: 1.734 MB / 0.9487 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.8399, allocations: 11.97 kB / 0.9487 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.692e-05/0.84, allocations: 26.02 kB / 0.9488 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002164/0.8402, allocations: 164.6 kB / 0.9489 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/0.8425, allocations: 354.9 kB / 0.9493 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.8443, allocations: 0.8103 MB / 0.9501 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.889e-05/0.8444, allocations: 78 kB / 0.9501 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.8446, allocations: 108.4 kB / 0.9502 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/0.847, allocations: 1.191 MB / 0.9514 GB, free: 20 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.847, allocations: 0 / 0.9514 GB, free: 20 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.8472, allocations: 40.08 kB / 0.9514 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-05/0.8472, allocations: 62.06 kB / 0.9515 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003246/0.8505, allocations: 1.246 MB / 0.9527 GB, free: 14.66 MB / 0.7325 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.01195/0.8624, allocations: 5.061 MB / 0.9577 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/0.8646, allocations: 0.8336 MB / 0.9585 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.8658, allocations: 489.2 kB / 0.9589 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.152e-05/0.8659, allocations: 16.8 kB / 0.959 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/0.8672, allocations: 492.2 kB / 0.9594 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 5.43e-06/0.8672, allocations: 0 / 0.9594 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.003301/0.8705, allocations: 1.161 MB / 0.9606 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.8705, allocations: 64 kB / 0.9606 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.8719, allocations: 0.5783 MB / 0.9612 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.872, allocations: 41.7 kB / 0.9612 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005006/0.8725, allocations: 472.6 kB / 0.9617 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000455/0.873, allocations: 281.5 kB / 0.9619 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003672/0.8733, allocations: 130.6 kB / 0.9621 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002174/0.8735, allocations: 386.8 kB / 0.9624 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008296/0.8744, allocations: 329.8 kB / 0.9628 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.8754, allocations: 446.5 kB / 0.9632 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.8773, allocations: 0.8271 MB / 0.964 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.8773, allocations: 8 kB / 0.964 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002444/0.8798, allocations: 0.93 MB / 0.9649 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.8798, allocations: 7.984 kB / 0.9649 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.8798, allocations: 7.938 kB / 0.9649 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.8799, allocations: 4 kB / 0.9649 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.881, allocations: 160.1 kB / 0.9651 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-05/0.881, allocations: 8 kB / 0.9651 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.8822, allocations: 63.5 kB / 0.9651 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.106e-05/0.8823, allocations: 28 kB / 0.9652 GB, free: 1.305 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0008528/0.8831, allocations: 325.6 kB / 0.9655 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003414/0.8835, allocations: 87.48 kB / 0.9656 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004295/0.8839, allocations: 107.7 kB / 0.9657 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.8839, allocations: 8 kB / 0.9657 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.8839, allocations: 0 / 0.9657 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002192/0.8861, allocations: 1.097 MB / 0.9667 GB, free: 15.59 MB / 0.7481 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 postOpt removeSimpleEquations (simulation): time 0.005269/0.8914, allocations: 2.276 MB / 0.969 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.8914, allocations: 3.938 kB / 0.969 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008747/0.8923, allocations: 171.8 kB / 0.9691 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.8923, allocations: 4 kB / 0.9691 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.364e-05/0.8923, allocations: 20.02 kB / 0.9692 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.8924, allocations: 7.938 kB / 0.9692 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.8924, allocations: 0 / 0.9692 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.8946, allocations: 1.36 MB / 0.9705 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005598/0.8952, allocations: 179.3 kB / 0.9707 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/0.8954, allocations: 27.91 kB / 0.9707 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007101/0.8961, allocations: 20 kB / 0.9707 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.496e-05/0.8962, allocations: 48.56 kB / 0.9708 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.409e-05/0.8962, allocations: 23.98 kB / 0.9708 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006339/0.8969, allocations: 411.1 kB / 0.9712 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.8969, allocations: 0 / 0.9712 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001088/0.8979, allocations: 379.2 kB / 0.9715 GB, free: 10.59 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.002599/0.9005, allocations: 1.986 MB / 0.9735 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001509/0.9021, allocations: 0.7629 MB / 0.9742 GB, free: 7.812 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9021, allocations: 0 / 0.9742 GB, free: 7.812 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005975/0.9027, allocations: 407.5 kB / 0.9746 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/0.9056, allocations: 0.5962 MB / 0.9752 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.9175, allocations: 7.279 MB / 0.9823 GB, free: 15.39 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.9186, allocations: 1.136 MB / 0.9834 GB, free: 14.23 MB / 0.7638 GB Notification: Performance of simCode: alias equations: time 0.001076/0.9197, allocations: 275.8 kB / 0.9837 GB, free: 13.96 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006901/0.9204, allocations: 379.2 kB / 0.984 GB, free: 13.59 MB / 0.7638 GB Notification: Performance of SimCode: time 1.793e-06/0.9204, allocations: 3.938 kB / 0.984 GB, free: 13.59 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06642/0.9868, allocations: 26.79 MB / 1.01 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.22, allocations: 64 / 1.01 GB, free: 3.148 MB / 0.7794 GB " [Timeout remaining time 647] (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.081036470015533] Failed to read output from testmodel.py, exit status != 0: 13.405181392037775 13.432039544 12.591851981 Calling exit ...