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.008547/0.008547, 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.002109/0.00211, allocations: 189.9 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.438/1.438, 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.9919/0.9919, allocations: 135.6 MB / 426.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 68.12 kB / 0.5857 GB, free: 3.199 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3727, allocations: 81.02 MB / 0.6649 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.2655/0.6383, allocations: 204.1 MB / 0.8642 GB, free: 4.012 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.3717/1.01, allocations: 6.357 MB / 0.8704 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/1.011, allocations: 37.88 kB / 0.8705 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001691/1.013, allocations: 0.728 MB / 0.8712 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005687/1.019, allocations: 2.674 MB / 0.8738 GB, free: 1.863 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.001537/1.02, allocations: 0.707 MB / 0.8745 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003814/1.024, allocations: 3.275 MB / 0.8777 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/1.025, allocations: 1.145 MB / 0.8788 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00212/1.028, allocations: 1.247 MB / 0.88 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002132/1.03, allocations: 1.099 MB / 0.8811 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002672/1.03, allocations: 127.6 kB / 0.8812 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004514/1.034, allocations: 2.355 MB / 0.8835 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005563/1.035, allocations: 0.5183 MB / 0.884 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009351/1.036, allocations: 0.7402 MB / 0.8847 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004154/1.04, allocations: 2.806 MB / 0.8875 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/1.04, allocations: 0 / 0.8875 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.994e-06/1.04, allocations: 1.281 kB / 0.8875 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.892e-05/1.04, allocations: 0 / 0.8875 GB, free: 1.551 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.003962/1.044, allocations: 1.815 MB / 0.8893 GB, free: 16.69 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/1.044, allocations: 13.53 kB / 0.8893 GB, free: 16.69 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001939/1.044, allocations: 161.5 kB / 0.8894 GB, free: 16.64 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/1.047, allocations: 356.4 kB / 0.8898 GB, free: 16.57 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/1.048, allocations: 0.8787 MB / 0.8906 GB, free: 16.25 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-05/1.048, allocations: 77.69 kB / 0.8907 GB, free: 16.25 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/1.048, allocations: 101.8 kB / 0.8908 GB, free: 16.25 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/1.05, allocations: 1.19 MB / 0.892 GB, free: 16.16 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/1.05, allocations: 1.203 kB / 0.892 GB, free: 16.16 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/1.05, allocations: 43.66 kB / 0.892 GB, free: 16.16 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.98e-05/1.05, allocations: 58.5 kB / 0.892 GB, free: 16.16 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/1.052, allocations: 1.251 MB / 0.8933 GB, free: 16.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 preOpt removeSimpleEquations (simulation): time 0.006371/1.059, allocations: 5.098 MB / 0.8983 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/1.06, allocations: 1.162 MB / 0.8994 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005992/1.061, allocations: 0.5053 MB / 0.8999 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 5.635e-05/1.061, allocations: 15.78 kB / 0.8999 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005975/1.061, allocations: 485.4 kB / 0.9004 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=76): time 2.335e-06/1.061, allocations: 0.9062 kB / 0.9004 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76): time 0.001683/1.063, allocations: 1.157 MB / 0.9015 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/1.063, allocations: 64.34 kB / 0.9015 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005505/1.064, allocations: 0.5706 MB / 0.9021 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.209e-05/1.064, allocations: 48.83 kB / 0.9022 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/1.064, allocations: 469.5 kB / 0.9026 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000248/1.064, allocations: 282.1 kB / 0.9029 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/1.064, allocations: 131.3 kB / 0.903 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001897/1.065, allocations: 392.3 kB / 0.9034 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004024/1.065, allocations: 327 kB / 0.9037 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/1.065, allocations: 458.5 kB / 0.9041 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009557/1.066, allocations: 0.8274 MB / 0.9049 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.066, allocations: 0 / 0.9049 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001187/1.068, allocations: 0.9302 MB / 0.9058 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/1.068, allocations: 6.344 kB / 0.9058 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1.068, allocations: 6.891 kB / 0.9058 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/1.068, allocations: 6.438 kB / 0.9059 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006221/1.068, allocations: 156.6 kB / 0.906 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/1.068, allocations: 8.891 kB / 0.906 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008344/1.069, allocations: 62.11 kB / 0.9061 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/1.069, allocations: 29.58 kB / 0.9061 GB, free: 11.79 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.0004074/1.07, allocations: 334.2 kB / 0.9064 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/1.07, allocations: 83.64 kB / 0.9065 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/1.07, allocations: 111.7 kB / 0.9066 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/1.07, allocations: 9.281 kB / 0.9066 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/1.07, allocations: 0 / 0.9066 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001157/1.071, allocations: 1.089 MB / 0.9077 GB, free: 11.15 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.002702/1.074, allocations: 2.306 MB / 0.9099 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/1.074, allocations: 0.9062 kB / 0.9099 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008249/1.075, allocations: 176.3 kB / 0.9101 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/1.075, allocations: 7.828 kB / 0.9101 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/1.075, allocations: 25.89 kB / 0.9101 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/1.075, allocations: 3.406 kB / 0.9101 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.075, allocations: 0 / 0.9101 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/1.077, allocations: 1.486 MB / 0.9116 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/1.077, allocations: 260.5 kB / 0.9118 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/1.077, allocations: 23.88 kB / 0.9119 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006129/1.078, allocations: 21.67 kB / 0.9119 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/1.078, allocations: 45.14 kB / 0.9119 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.964e-05/1.078, allocations: 24.42 kB / 0.9119 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004099/1.078, allocations: 413.1 kB / 0.9123 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.61e-07/1.078, allocations: 3.375 kB / 0.9123 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008833/1.079, allocations: 368.8 kB / 0.9127 GB, free: 10.13 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.002227/1.081, allocations: 2.106 MB / 0.9147 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001077/1.082, allocations: 0.8087 MB / 0.9155 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.082, allocations: 1.75 kB / 0.9155 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004609/1.083, allocations: 428.2 kB / 0.9159 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/1.085, allocations: 0.5872 MB / 0.9165 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008731/1.094, allocations: 7.245 MB / 0.9236 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000803/1.095, allocations: 1.14 MB / 0.9247 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009391/1.096, allocations: 275 kB / 0.925 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004883/1.096, allocations: 379.9 kB / 0.9253 GB, free: 6.363 MB / 0.7012 GB Notification: Performance of SimCode: time 6.41e-07/1.096, allocations: 4 kB / 0.9253 GB, free: 6.359 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05541/1.152, allocations: 25.98 MB / 0.9507 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.591/10.74, allocations: 12.19 kB / 0.9507 GB, free: 8.066 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)