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.002369/0.002369, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.00281/0.00281, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.56/1.56, allocations: 177.1 MB / 203.1 MB, free: 5.133 MB / 186.7 MB " [Timeout remaining time 178] 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 1.321/1.321, allocations: 154.6 MB / 414.1 MB, free: 496 kB / 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 178] 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 5.801e-06/5.801e-06, allocations: 3.984 kB / 0.5196 GB, free: 2.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/4.05e-05, allocations: 6.312 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5414/0.5415, allocations: 167.3 MB / 0.683 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005862/0.5473, allocations: 4.379 MB / 0.6872 GB, free: 47.26 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.5486, allocations: 27 kB / 0.6873 GB, free: 47.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.5498, allocations: 338.1 kB / 0.6876 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002755/0.5526, allocations: 1.073 MB / 0.6886 GB, free: 47.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.5545, allocations: 0.8402 MB / 0.6894 GB, free: 47.18 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001628/0.5562, allocations: 1.336 MB / 0.6908 GB, free: 47.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004866/0.5567, allocations: 391 kB / 0.6911 GB, free: 47.17 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.558, allocations: 0.8983 MB / 0.692 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.559, allocations: 444.2 kB / 0.6924 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.439e-05/0.5591, allocations: 51.53 kB / 0.6925 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.5604, allocations: 0.7548 MB / 0.6932 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.5606, allocations: 237.9 kB / 0.6934 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002646/0.5609, allocations: 236.1 kB / 0.6937 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.5623, allocations: 1.192 MB / 0.6948 GB, free: 47.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5623, allocations: 0 / 0.6948 GB, free: 47.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5623, allocations: 3.688 kB / 0.6948 GB, free: 47.06 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.5623, allocations: 0 / 0.6948 GB, free: 47.06 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.001487/0.5638, allocations: 1.019 MB / 0.6958 GB, free: 46.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.5638, allocations: 11.44 kB / 0.6958 GB, free: 46.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.5652, allocations: 285.5 kB / 0.6961 GB, free: 46.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00073/0.5659, allocations: 450 kB / 0.6965 GB, free: 46.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.5659, allocations: 35.91 kB / 0.6966 GB, free: 46.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.686e-05/0.566, allocations: 44.12 kB / 0.6966 GB, free: 46.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009982/0.567, allocations: 0.8471 MB / 0.6974 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.567, allocations: 0 / 0.6974 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.492e-05/0.5671, allocations: 22.53 kB / 0.6975 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/0.5671, allocations: 19.09 kB / 0.6975 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009293/0.568, allocations: 396.8 kB / 0.6979 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003182/0.5712, allocations: 2.071 MB / 0.6999 GB, free: 44.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006041/0.5718, allocations: 219.8 kB / 0.7001 GB, free: 44.72 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.5722, allocations: 127.8 kB / 0.7002 GB, free: 44.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.5722, allocations: 6.625 kB / 0.7002 GB, free: 44.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.5722, allocations: 37.27 kB / 0.7003 GB, free: 44.67 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.5722, allocations: 0 / 0.7003 GB, free: 44.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.003797/0.576, allocations: 0.7612 MB / 0.701 GB, free: 44.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.5761, allocations: 80.86 kB / 0.7011 GB, free: 44.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.5765, allocations: 0.5164 MB / 0.7016 GB, free: 44.31 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.5765, allocations: 33.27 kB / 0.7016 GB, free: 44.28 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.5767, allocations: 383.2 kB / 0.702 GB, free: 44.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.5767, allocations: 40.69 kB / 0.702 GB, free: 44.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.5769, allocations: 74.36 kB / 0.7021 GB, free: 44 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.577, allocations: 0.5401 MB / 0.7026 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/0.5774, allocations: 127 kB / 0.7027 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004424/0.5778, allocations: 275.7 kB / 0.703 GB, free: 43.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007265/0.5786, allocations: 325.5 kB / 0.7033 GB, free: 43.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.5786, allocations: 4.062 kB / 0.7033 GB, free: 43.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001893/0.5805, allocations: 0.5598 MB / 0.7039 GB, free: 43.15 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.5805, allocations: 5.656 kB / 0.7039 GB, free: 43.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.5805, allocations: 2.688 kB / 0.7039 GB, free: 43.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.582, allocations: 297.5 kB / 0.7042 GB, free: 43.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.5823, allocations: 61.97 kB / 0.7042 GB, free: 43.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002983/0.5852, allocations: 2.45 MB / 0.7066 GB, free: 41.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.5857, allocations: 46.38 kB / 0.7066 GB, free: 41.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.5858, allocations: 13.34 kB / 0.7067 GB, free: 41.39 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.000234/0.586, allocations: 208.7 kB / 0.7069 GB, free: 41.22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.791e-05/0.5861, allocations: 42.64 kB / 0.7069 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.843e-05/0.5862, allocations: 45.3 kB / 0.7069 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5862, allocations: 3.625 kB / 0.7069 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.5862, allocations: 0 / 0.7069 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.5862, allocations: 0.75 kB / 0.7069 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/0.5885, allocations: 1.001 MB / 0.7079 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5885, allocations: 2.844 kB / 0.7079 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.5887, allocations: 28.23 kB / 0.708 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/0.59, allocations: 295.5 kB / 0.7082 GB, free: 40.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.59, allocations: 10.12 kB / 0.7082 GB, free: 40.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002666/0.5927, allocations: 2.398 MB / 0.7106 GB, free: 39.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5927, allocations: 4.656 kB / 0.7106 GB, free: 39.11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.5945, allocations: 0.6192 MB / 0.7112 GB, free: 38.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.5947, allocations: 76.33 kB / 0.7113 GB, free: 38.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.907e-05/0.5948, allocations: 6.375 kB / 0.7113 GB, free: 38.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004415/0.5952, allocations: 33.45 kB / 0.7113 GB, free: 38.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.5953, allocations: 12.25 kB / 0.7113 GB, free: 38.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/0.5953, allocations: 20.25 kB / 0.7113 GB, free: 38.84 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002956/0.5956, allocations: 327.3 kB / 0.7116 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.5956, allocations: 0.8438 kB / 0.7117 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006509/0.5963, allocations: 197 kB / 0.7118 GB, free: 38.69 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.0002839/0.5966, allocations: 159.8 kB / 0.712 GB, free: 38.59 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.5977, allocations: 0.4968 MB / 0.7125 GB, free: 38.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5977, allocations: 0 / 0.7125 GB, free: 38.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005055/0.5982, allocations: 331.1 kB / 0.7128 GB, free: 38.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.5992, allocations: 216.9 kB / 0.713 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.6018, allocations: 0.9756 MB / 0.714 GB, free: 37.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.602, allocations: 254.6 kB / 0.7142 GB, free: 37.69 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003096/0.6023, allocations: 75.47 kB / 0.7143 GB, free: 37.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.612e-05/0.6024, allocations: 34.03 kB / 0.7143 GB, free: 37.66 MB / 0.6355 GB Notification: Performance of SimCode: time 1.373e-06/0.6024, allocations: 0 / 0.7143 GB, free: 37.66 MB / 0.6355 GB Notification: Performance of Templates: time 0.01787/0.6203, allocations: 9.747 MB / 0.7238 GB, free: 36.8 MB / 0.6355 GB " [Timeout remaining time 659] 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: 6.953427248052321]