Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow",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.001616/0.001616, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001866/0.001867, allocations: 186.8 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.606/1.606, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001542, allocations: 67.45 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2171, allocations: 114.6 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6235/0.8407, allocations: 204.1 MB / 0.983 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009711/0.8504, allocations: 6.301 MB / 0.9891 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.852, allocations: 35.88 kB / 0.9892 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.8539, allocations: 0.7323 MB / 0.9899 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006358/0.8603, allocations: 2.671 MB / 0.9925 GB, free: 10.73 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.001773/0.8621, allocations: 0.6986 MB / 0.9932 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003638/0.8658, allocations: 3.249 MB / 0.9963 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.867, allocations: 1.137 MB / 0.9975 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/0.8688, allocations: 1.242 MB / 0.9987 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.8705, allocations: 1.095 MB / 0.9997 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.8707, allocations: 132.1 kB / 0.9999 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003949/0.8746, allocations: 2.352 MB / 1.002 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004551/0.8751, allocations: 0.5162 MB / 1.003 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006995/0.8758, allocations: 0.7332 MB / 1.003 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003429/0.8792, allocations: 2.798 MB / 1.006 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.8792, allocations: 0 / 1.006 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.734e-06/0.8793, allocations: 0 / 1.006 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.793e-05/0.8793, allocations: 0 / 1.006 GB, free: 3.363 MB / 0.7325 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.003537/0.8828, allocations: 1.765 MB / 1.008 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.8829, allocations: 10.78 kB / 1.008 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001838/0.8831, allocations: 160.2 kB / 1.008 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.8851, allocations: 343.9 kB / 1.008 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.8864, allocations: 0.8643 MB / 1.009 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.171e-05/0.8864, allocations: 83.92 kB / 1.009 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.8866, allocations: 97.75 kB / 1.009 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.8883, allocations: 1.189 MB / 1.011 GB, free: 424 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.8884, allocations: 0 / 1.011 GB, free: 424 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.432e-05/0.8885, allocations: 44.75 kB / 1.011 GB, free: 392 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.335e-05/0.8885, allocations: 61.66 kB / 1.011 GB, free: 376 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.8903, allocations: 1.243 MB / 1.012 GB, free: 15.75 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 preOpt removeSimpleEquations (simulation): time 0.00581/0.8961, allocations: 5.083 MB / 1.017 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.8974, allocations: 1.16 MB / 1.018 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00067/0.8981, allocations: 0.5014 MB / 1.018 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.615e-05/0.8982, allocations: 14.72 kB / 1.018 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006717/0.8988, allocations: 483.6 kB / 1.019 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 2.515e-06/0.8989, allocations: 7.938 kB / 1.019 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.001814/0.9007, allocations: 1.158 MB / 1.02 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.9007, allocations: 61.47 kB / 1.02 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000634/0.9014, allocations: 0.5582 MB / 1.021 GB, free: 9.098 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/0.9014, allocations: 42.98 kB / 1.021 GB, free: 9.055 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.9018, allocations: 457.5 kB / 1.021 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.902, allocations: 273.7 kB / 1.021 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.9022, allocations: 132.7 kB / 1.021 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.9024, allocations: 386.6 kB / 1.022 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/0.9029, allocations: 329.7 kB / 1.022 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005543/0.9034, allocations: 460.8 kB / 1.023 GB, free: 7.492 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.9045, allocations: 0.8194 MB / 1.023 GB, free: 7.004 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.9045, allocations: 2.406 kB / 1.023 GB, free: 7.004 MB / 0.7481 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001264/0.9058, allocations: 0.9234 MB / 1.024 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.9058, allocations: 11.33 kB / 1.024 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.9058, allocations: 2.75 kB / 1.024 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.9058, allocations: 5.031 kB / 1.024 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/0.9064, allocations: 162.8 kB / 1.024 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.9065, allocations: 5 kB / 1.024 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007079/0.9072, allocations: 71.7 kB / 1.025 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.9072, allocations: 22.22 kB / 1.025 GB, free: 6.43 MB / 0.7481 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.0004897/0.9077, allocations: 336.2 kB / 1.025 GB, free: 6.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.9079, allocations: 79.19 kB / 1.025 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.9081, allocations: 108 kB / 1.025 GB, free: 6.051 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.9081, allocations: 11.22 kB / 1.025 GB, free: 6.047 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.9081, allocations: 0 / 1.025 GB, free: 6.047 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001196/0.9093, allocations: 1.085 MB / 1.026 GB, free: 5.25 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.002917/0.9122, allocations: 2.305 MB / 1.028 GB, free: 3.672 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.9123, allocations: 0 / 1.028 GB, free: 3.672 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007709/0.913, allocations: 180.8 kB / 1.029 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.913, allocations: 2.094 kB / 1.029 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.645e-05/0.9131, allocations: 16 kB / 1.029 GB, free: 3.625 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.9131, allocations: 2.094 kB / 1.029 GB, free: 3.625 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.9131, allocations: 3.984 kB / 1.029 GB, free: 3.621 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.9149, allocations: 1.487 MB / 1.03 GB, free: 2.77 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003389/0.9153, allocations: 254.2 kB / 1.03 GB, free: 2.559 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.91e-05/0.9154, allocations: 16.69 kB / 1.03 GB, free: 2.547 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005584/0.916, allocations: 23.5 kB / 1.03 GB, free: 2.531 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/0.9161, allocations: 41.03 kB / 1.03 GB, free: 2.508 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.126e-05/0.9161, allocations: 29.42 kB / 1.03 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004271/0.9165, allocations: 412.6 kB / 1.031 GB, free: 2.145 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.543e-06/0.9166, allocations: 0 / 1.031 GB, free: 2.145 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000808/0.9174, allocations: 374.8 kB / 1.031 GB, free: 1.777 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.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.002237/0.9196, allocations: 2.096 MB / 1.033 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.9207, allocations: 0.8103 MB / 1.034 GB, free: 14.85 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9207, allocations: 4.062 kB / 1.034 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005177/0.9213, allocations: 427.5 kB / 1.034 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.9236, allocations: 0.5871 MB / 1.035 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009351/0.9329, allocations: 7.185 MB / 1.042 GB, free: 6.508 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000832/0.9338, allocations: 1.136 MB / 1.043 GB, free: 5.344 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008195/0.9346, allocations: 267.1 kB / 1.043 GB, free: 5.078 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005287/0.9352, allocations: 371.3 kB / 1.044 GB, free: 4.719 MB / 0.7637 GB Notification: Performance of SimCode: time 7.21e-07/0.9352, allocations: 3.938 kB / 1.044 GB, free: 4.715 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.049/0.9842, allocations: 25.72 MB / 1.069 GB, free: 11.32 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.324/9.308, allocations: 4 kB / 1.069 GB, free: 11.32 MB / 0.795 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)