Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.0009336/0.0009336, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.000964/0.000964, allocations: 173 kB / 23.28 MB, free: 1.215 MB / 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.9346/0.9346, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7459/0.7459, allocations: 154.6 MB / 414.8 MB, free: 0.5391 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.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: translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0 / 0.5207 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466e-05/1.566e-05, allocations: 6.094 kB / 0.5207 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1334/0.1334, allocations: 145.5 MB / 0.6629 GB, free: 24 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003775/0.1372, allocations: 3.414 MB / 0.6662 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002959/0.1375, allocations: 31.75 kB / 0.6662 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004221/0.1379, allocations: 166.8 kB / 0.6664 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.1389, allocations: 0.8002 MB / 0.6672 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008997/0.1398, allocations: 0.7099 MB / 0.6679 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009338/0.1408, allocations: 1.317 MB / 0.6691 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.1411, allocations: 384.2 kB / 0.6695 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.1422, allocations: 0.8048 MB / 0.6703 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003795/0.1425, allocations: 410.9 kB / 0.6707 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.403e-05/0.1426, allocations: 52 kB / 0.6707 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006085/0.1432, allocations: 0.5727 MB / 0.6713 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.1434, allocations: 231.3 kB / 0.6715 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.1435, allocations: 231.5 kB / 0.6717 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007802/0.1443, allocations: 0.849 MB / 0.6726 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.1443, allocations: 0 / 0.6726 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1443, allocations: 0 / 0.6726 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.1443, allocations: 7.938 kB / 0.6726 GB, free: 6.07 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00103/0.1453, allocations: 0.9741 MB / 0.6735 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.1454, allocations: 12.03 kB / 0.6735 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000956/0.1463, allocations: 268.1 kB / 0.6738 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.1467, allocations: 425 kB / 0.6742 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.1467, allocations: 41.06 kB / 0.6742 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/0.1468, allocations: 44 kB / 0.6743 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005765/0.1474, allocations: 0.6853 MB / 0.6749 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1474, allocations: 4 kB / 0.6749 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.1474, allocations: 24 kB / 0.675 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.1474, allocations: 17 kB / 0.675 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.1476, allocations: 162.8 kB / 0.6751 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.1494, allocations: 1.724 MB / 0.6768 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.1496, allocations: 103 kB / 0.6769 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.143e-05/0.1497, allocations: 35.67 kB / 0.677 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.1497, allocations: 0 / 0.677 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.1497, allocations: 45.55 kB / 0.677 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 9.42e-07/0.1497, allocations: 4 kB / 0.677 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001305/0.151, allocations: 452.5 kB / 0.6774 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.151, allocations: 77.11 kB / 0.6775 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.1513, allocations: 434.3 kB / 0.6779 GB, free: 296 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.1513, allocations: 25.7 kB / 0.678 GB, free: 264 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.2657/0.417, allocations: 364 kB / 0.6783 GB, free: 63.19 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.359e-05/0.4171, allocations: 43.56 kB / 0.6783 GB, free: 63.19 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.586e-05/0.4172, allocations: 69.05 kB / 0.6784 GB, free: 63.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.645e-05/0.4173, allocations: 0.5216 MB / 0.6789 GB, free: 62.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-05/0.4174, allocations: 34.97 kB / 0.6789 GB, free: 62.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.349e-05/0.4175, allocations: 166.4 kB / 0.6791 GB, free: 62.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.4176, allocations: 171.9 kB / 0.6793 GB, free: 62.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4176, allocations: 0 / 0.6793 GB, free: 62.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007021/0.4183, allocations: 337.3 kB / 0.6796 GB, free: 62.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.4183, allocations: 6.625 kB / 0.6796 GB, free: 62.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.4183, allocations: 2.875 kB / 0.6796 GB, free: 62.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006504/0.419, allocations: 242.4 kB / 0.6798 GB, free: 62.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.4191, allocations: 63.88 kB / 0.6799 GB, free: 62.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.4203, allocations: 1.994 MB / 0.6818 GB, free: 60.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.4205, allocations: 45.17 kB / 0.6819 GB, free: 60.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.4205, allocations: 13.14 kB / 0.6819 GB, free: 60.62 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.4206, allocations: 174.8 kB / 0.6821 GB, free: 60.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/0.4207, allocations: 47.83 kB / 0.6821 GB, free: 60.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.03e-05/0.4207, allocations: 41.86 kB / 0.6821 GB, free: 60.43 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.4207, allocations: 3.562 kB / 0.6822 GB, free: 60.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.4207, allocations: 0.9062 kB / 0.6822 GB, free: 60.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4207, allocations: 1.859 kB / 0.6822 GB, free: 60.43 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007766/0.4215, allocations: 0.6012 MB / 0.6827 GB, free: 60.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4215, allocations: 2.812 kB / 0.6827 GB, free: 60.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.4216, allocations: 27.27 kB / 0.6828 GB, free: 60.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000542/0.4221, allocations: 246.4 kB / 0.683 GB, free: 60.11 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.4221, allocations: 6.438 kB / 0.683 GB, free: 60.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008802/0.423, allocations: 1.953 MB / 0.6849 GB, free: 58.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.423, allocations: 3.719 kB / 0.6849 GB, free: 58.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.4236, allocations: 420.7 kB / 0.6853 GB, free: 58.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.94e-05/0.4236, allocations: 68.16 kB / 0.6854 GB, free: 58.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.4237, allocations: 4.688 kB / 0.6854 GB, free: 58.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.4239, allocations: 27.52 kB / 0.6854 GB, free: 58.14 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.4239, allocations: 19.14 kB / 0.6854 GB, free: 58.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.4239, allocations: 16.25 kB / 0.6855 GB, free: 58.14 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000111/0.424, allocations: 270.7 kB / 0.6857 GB, free: 58.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.424, allocations: 0 / 0.6857 GB, free: 58.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004086/0.4244, allocations: 193.3 kB / 0.6859 GB, free: 58.01 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001754/0.4246, allocations: 146.6 kB / 0.686 GB, free: 57.92 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003468/0.425, allocations: 317.1 kB / 0.6863 GB, free: 57.74 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.425, allocations: 1.641 kB / 0.6863 GB, free: 57.74 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.4251, allocations: 240.3 kB / 0.6866 GB, free: 57.55 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/0.4256, allocations: 209.4 kB / 0.6868 GB, free: 57.55 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.427, allocations: 0.8921 MB / 0.6876 GB, free: 57.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.037e-05/0.4271, allocations: 132 kB / 0.6878 GB, free: 57.07 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001779/0.4272, allocations: 67.23 kB / 0.6878 GB, free: 57.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/0.4276, allocations: 265.6 kB / 0.6881 GB, free: 57 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.4276, allocations: 0 / 0.6881 GB, free: 57 MB / 0.6355 GB Notification: Performance of Templates: time 0.01063/0.4382, allocations: 10.32 MB / 0.6982 GB, free: 56.38 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.227585615124553]