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.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.0009123/0.0009123, allocations: 69.89 kB / 20.65 MB, free: 3.848 MB / 18.57 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.001504/0.001504, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 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 0.9324/0.9324, allocations: 177.1 MB / 204.5 MB, free: 4.828 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7738/0.7738, allocations: 154.9 MB / 415.9 MB, free: 152 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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: translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.5219 GB, free: 1.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.512e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.1161/0.1161, allocations: 149 MB / 0.6673 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003995/0.1201, allocations: 3.711 MB / 0.671 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00039/0.1205, allocations: 47.62 kB / 0.671 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005888/0.121, allocations: 313.9 kB / 0.6713 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.1228, allocations: 1.379 MB / 0.6727 GB, free: 6.746 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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.0006087/0.1234, allocations: 0.5684 MB / 0.6732 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002005/0.1254, allocations: 3.312 MB / 0.6764 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006819/0.1261, allocations: 0.8405 MB / 0.6773 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001676/0.1278, allocations: 1.719 MB / 0.6789 GB, free: 312 kB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2229/0.3507, allocations: 1.026 MB / 0.6799 GB, free: 50.97 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002653/0.351, allocations: 126.9 kB / 0.6801 GB, free: 50.97 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007372/0.3517, allocations: 377.3 kB / 0.6804 GB, free: 50.97 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003454/0.352, allocations: 0.5673 MB / 0.681 GB, free: 50.97 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005202/0.3526, allocations: 0.5363 MB / 0.6815 GB, free: 50.97 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.3537, allocations: 1.3 MB / 0.6828 GB, free: 50.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3537, allocations: 0 / 0.6828 GB, free: 50.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 9.02e-07/0.3538, allocations: 0 / 0.6828 GB, free: 50.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.358e-05/0.3538, allocations: 0 / 0.6828 GB, free: 50.91 MB / 0.6355 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.001996/0.3558, allocations: 1.699 MB / 0.6844 GB, free: 50.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.3558, allocations: 9.766 kB / 0.6844 GB, free: 50.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.3569, allocations: 442.2 kB / 0.6849 GB, free: 50.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000703/0.3576, allocations: 0.7368 MB / 0.6856 GB, free: 49.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.3576, allocations: 84.78 kB / 0.6857 GB, free: 49.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.3577, allocations: 105 kB / 0.6858 GB, free: 49.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006412/0.3584, allocations: 0.7869 MB / 0.6865 GB, free: 49.42 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.3584, allocations: 0 / 0.6865 GB, free: 49.42 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.123e-05/0.3584, allocations: 39.88 kB / 0.6866 GB, free: 49.42 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.611e-05/0.3585, allocations: 67.25 kB / 0.6866 GB, free: 49.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004746/0.359, allocations: 401.5 kB / 0.687 GB, free: 49.37 MB / 0.6355 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.002556/0.3615, allocations: 2.577 MB / 0.6895 GB, free: 48.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/0.362, allocations: 451.3 kB / 0.69 GB, free: 48.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.3622, allocations: 210.7 kB / 0.6902 GB, free: 48.83 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.3622, allocations: 25.31 kB / 0.6902 GB, free: 48.83 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002804/0.3625, allocations: 472.2 kB / 0.6906 GB, free: 48.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=76): time 2.384e-06/0.3625, allocations: 0 / 0.6906 GB, free: 48.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76): time 0.0008256/0.3633, allocations: 0.5521 MB / 0.6912 GB, free: 48.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.3634, allocations: 58.5 kB / 0.6912 GB, free: 48.37 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.3636, allocations: 0.515 MB / 0.6917 GB, free: 48.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.3637, allocations: 40.34 kB / 0.6918 GB, free: 48.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.3638, allocations: 0.5188 MB / 0.6923 GB, free: 47.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.3639, allocations: 288.8 kB / 0.6926 GB, free: 47.67 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.364, allocations: 142 kB / 0.6927 GB, free: 47.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.698e-05/0.3641, allocations: 0.5675 MB / 0.6932 GB, free: 47.15 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.3642, allocations: 95.06 kB / 0.6933 GB, free: 47.15 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.3644, allocations: 261.3 kB / 0.6936 GB, free: 47.01 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.3647, allocations: 400.7 kB / 0.694 GB, free: 46.85 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3647, allocations: 2.062 kB / 0.694 GB, free: 46.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0004736/0.3652, allocations: 0.4962 MB / 0.6945 GB, free: 46.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3652, allocations: 6.625 kB / 0.6945 GB, free: 46.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3652, allocations: 3.781 kB / 0.6945 GB, free: 46.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.3652, allocations: 6.812 kB / 0.6945 GB, free: 46.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.3656, allocations: 154.7 kB / 0.6946 GB, free: 46.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3656, allocations: 9.562 kB / 0.6946 GB, free: 46.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.3659, allocations: 62.78 kB / 0.6947 GB, free: 46.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.3659, allocations: 21.84 kB / 0.6947 GB, free: 46.74 MB / 0.6355 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.0001418/0.366, allocations: 199.7 kB / 0.6949 GB, free: 46.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.122e-05/0.3661, allocations: 103 kB / 0.695 GB, free: 46.53 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.414e-05/0.3662, allocations: 100.9 kB / 0.6951 GB, free: 46.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3662, allocations: 12.38 kB / 0.6951 GB, free: 46.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3662, allocations: 0 / 0.6951 GB, free: 46.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003702/0.3666, allocations: 0.6674 MB / 0.6958 GB, free: 46.06 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.3677, allocations: 1.279 MB / 0.697 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3677, allocations: 4.453 kB / 0.697 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004139/0.3681, allocations: 172.4 kB / 0.6972 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3681, allocations: 3.75 kB / 0.6972 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.3681, allocations: 20.34 kB / 0.6972 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3681, allocations: 2.781 kB / 0.6972 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3682, allocations: 0.9062 kB / 0.6972 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005956/0.3687, allocations: 0.757 MB / 0.6979 GB, free: 45.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.3689, allocations: 155.7 kB / 0.6981 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-05/0.369, allocations: 18.69 kB / 0.6981 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.3692, allocations: 18.67 kB / 0.6981 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.3693, allocations: 53.83 kB / 0.6982 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.3693, allocations: 24.17 kB / 0.6982 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001407/0.3695, allocations: 319.9 kB / 0.6985 GB, free: 45.26 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.3695, allocations: 0.75 kB / 0.6985 GB, free: 45.26 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004556/0.3699, allocations: 373 kB / 0.6989 GB, free: 45.21 MB / 0.6355 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.0001313/0.37, allocations: 123.6 kB / 0.699 GB, free: 45.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003706/0.3704, allocations: 382 kB / 0.6993 GB, free: 45.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3704, allocations: 0 / 0.6993 GB, free: 45.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.3706, allocations: 225.8 kB / 0.6996 GB, free: 45.08 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.3718, allocations: 0.5313 MB / 0.7001 GB, free: 45.06 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.3736, allocations: 1.782 MB / 0.7018 GB, free: 44.28 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.3737, allocations: 261 kB / 0.7021 GB, free: 44.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000406/0.3741, allocations: 141.5 kB / 0.7022 GB, free: 44.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006587/0.3748, allocations: 440.7 kB / 0.7026 GB, free: 44.12 MB / 0.6355 GB Notification: Performance of SimCode: time 6.41e-07/0.3748, allocations: 1.062 kB / 0.7026 GB, free: 44.12 MB / 0.6355 GB Notification: Performance of Templates: time 0.02196/0.3967, allocations: 19.65 MB / 0.7218 GB, free: 42.23 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.231279392261058]