Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_dev_IDEAS_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.004567/0.004567, allocations: 100.9 kB / 15.73 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 189.1 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9028/0.9028, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.89 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3387, allocations: 80.91 MB / 0.6641 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.1942/0.533, allocations: 204.2 MB / 0.8635 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.3423/0.8753, allocations: 6.362 MB / 0.8697 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.8764, allocations: 39.44 kB / 0.8698 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.8781, allocations: 0.7567 MB / 0.8705 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005766/0.8839, allocations: 2.761 MB / 0.8732 GB, free: 1.855 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.001559/0.8855, allocations: 0.7162 MB / 0.8739 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003779/0.8893, allocations: 3.276 MB / 0.8771 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.8907, allocations: 1.143 MB / 0.8782 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002299/0.8931, allocations: 1.292 MB / 0.8795 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002203/0.8953, allocations: 1.091 MB / 0.8805 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002761/0.8956, allocations: 128.6 kB / 0.8807 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004734/0.9003, allocations: 2.366 MB / 0.883 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006088/0.9009, allocations: 0.5175 MB / 0.8835 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.902, allocations: 0.7384 MB / 0.8842 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004213/0.9062, allocations: 2.803 MB / 0.8869 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.9062, allocations: 0 / 0.8869 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9062, allocations: 1.031 kB / 0.8869 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.408e-05/0.9063, allocations: 0.9688 kB / 0.8869 GB, free: 1.539 MB / 0.6856 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.004077/0.9104, allocations: 1.812 MB / 0.8887 GB, free: 16.68 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.9104, allocations: 10.12 kB / 0.8887 GB, free: 16.68 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001976/0.9106, allocations: 167.5 kB / 0.8889 GB, free: 16.63 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002358/0.913, allocations: 353 kB / 0.8892 GB, free: 16.56 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.9145, allocations: 0.8826 MB / 0.8901 GB, free: 16.23 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.9146, allocations: 79.7 kB / 0.8901 GB, free: 16.23 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.9148, allocations: 98.81 kB / 0.8902 GB, free: 16.23 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.9167, allocations: 1.191 MB / 0.8914 GB, free: 16.15 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.9167, allocations: 3.188 kB / 0.8914 GB, free: 16.15 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.9169, allocations: 47.23 kB / 0.8915 GB, free: 16.15 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.658e-05/0.9169, allocations: 59.45 kB / 0.8915 GB, free: 16.14 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.9188, allocations: 1.244 MB / 0.8927 GB, free: 16.13 MB / 0.7012 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.006423/0.9252, allocations: 5.099 MB / 0.8977 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.9266, allocations: 1.15 MB / 0.8988 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006238/0.9272, allocations: 0.5063 MB / 0.8993 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 5.575e-05/0.9273, allocations: 18.7 kB / 0.8993 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006417/0.928, allocations: 491.1 kB / 0.8998 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=76): time 2.625e-06/0.928, allocations: 0.8438 kB / 0.8998 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76): time 0.001792/0.9298, allocations: 1.153 MB / 0.9009 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.9298, allocations: 64.53 kB / 0.901 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005906/0.9304, allocations: 0.5744 MB / 0.9016 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.682e-05/0.9305, allocations: 38.89 kB / 0.9016 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.9307, allocations: 472.9 kB / 0.902 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000227/0.931, allocations: 280.5 kB / 0.9023 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.9312, allocations: 131.3 kB / 0.9024 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.9313, allocations: 389.2 kB / 0.9028 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/0.9317, allocations: 329.5 kB / 0.9031 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/0.9322, allocations: 463 kB / 0.9036 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009541/0.9332, allocations: 0.8228 MB / 0.9044 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.9332, allocations: 0 / 0.9044 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00119/0.9344, allocations: 0.9346 MB / 0.9053 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.9344, allocations: 5.562 kB / 0.9053 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.9344, allocations: 3.469 kB / 0.9053 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.9345, allocations: 5.375 kB / 0.9053 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/0.9351, allocations: 156.4 kB / 0.9054 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.9352, allocations: 8.219 kB / 0.9055 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008414/0.936, allocations: 66.92 kB / 0.9055 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.821e-05/0.9361, allocations: 25.03 kB / 0.9055 GB, free: 11.77 MB / 0.7012 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.0004165/0.9365, allocations: 346.3 kB / 0.9059 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.9366, allocations: 86.05 kB / 0.906 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.9368, allocations: 108.5 kB / 0.9061 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.9368, allocations: 9.281 kB / 0.9061 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.9368, allocations: 0 / 0.9061 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001072/0.9379, allocations: 1.08 MB / 0.9071 GB, free: 11.14 MB / 0.7012 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.002758/0.9407, allocations: 2.314 MB / 0.9094 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.9407, allocations: 0.75 kB / 0.9094 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008398/0.9416, allocations: 185.2 kB / 0.9096 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/0.9416, allocations: 2.844 kB / 0.9096 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.022e-05/0.9416, allocations: 24.41 kB / 0.9096 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.9416, allocations: 4.375 kB / 0.9096 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9417, allocations: 0 / 0.9096 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.9433, allocations: 1.49 MB / 0.911 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004077/0.9437, allocations: 252.8 kB / 0.9113 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.9438, allocations: 20.59 kB / 0.9113 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006554/0.9445, allocations: 25.84 kB / 0.9113 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.258e-05/0.9446, allocations: 46.16 kB / 0.9114 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-05/0.9446, allocations: 25.88 kB / 0.9114 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004015/0.9451, allocations: 412 kB / 0.9118 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9451, allocations: 0 / 0.9118 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008914/0.946, allocations: 369.1 kB / 0.9121 GB, free: 10.12 MB / 0.7012 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.001999/0.948, allocations: 2.112 MB / 0.9142 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.9491, allocations: 0.8043 MB / 0.915 GB, free: 9.375 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.9491, allocations: 0.5625 kB / 0.915 GB, free: 9.375 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004775/0.9496, allocations: 431.3 kB / 0.9154 GB, free: 9.375 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.9522, allocations: 0.5861 MB / 0.916 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008642/0.9609, allocations: 7.241 MB / 0.923 GB, free: 7.148 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006483/0.9616, allocations: 1.138 MB / 0.9242 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009517/0.9625, allocations: 276.8 kB / 0.9244 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004774/0.963, allocations: 379.5 kB / 0.9248 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of SimCode: time 5.31e-07/0.963, allocations: 0 / 0.9248 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0458/1.009, allocations: 25.99 MB / 0.9502 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.056/10.07, allocations: 7.625 kB / 0.9502 GB, free: 8.238 MB / 0.7169 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)