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.00152/0.00152, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001941/0.001941, allocations: 173 kB / 23.35 MB, free: 1.137 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.023/1.023, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.8008/0.8008, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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.352e-06/1.352e-06, allocations: 0 / 480 MB, free: 6.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.156e-05, allocations: 2.844 kB / 480 MB, free: 6.926 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1533/0.1533, allocations: 147.6 MB / 0.6129 GB, free: 3.18 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.004438/0.1578, allocations: 3.491 MB / 0.6163 GB, free: 15.68 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005658/0.1583, allocations: 23.81 kB / 0.6163 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005345/0.1589, allocations: 170.8 kB / 0.6165 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.1603, allocations: 0.808 MB / 0.6173 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.1616, allocations: 0.703 MB / 0.618 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001586/0.1632, allocations: 1.316 MB / 0.6192 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00054/0.1637, allocations: 392.8 kB / 0.6196 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.1652, allocations: 0.7858 MB / 0.6204 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005524/0.1658, allocations: 390.9 kB / 0.6208 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 7.374e-05/0.1658, allocations: 48 kB / 0.6208 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007991/0.1666, allocations: 0.569 MB / 0.6214 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.1668, allocations: 223.3 kB / 0.6216 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.167, allocations: 235.5 kB / 0.6218 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.1681, allocations: 0.8567 MB / 0.6226 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1682, allocations: 4 kB / 0.6226 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.502e-06/0.1682, allocations: 0 / 0.6226 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.1682, allocations: 0 / 0.6226 GB, free: 9.184 MB / 0.5886 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.001044/0.1692, allocations: 0.8376 MB / 0.6235 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1692, allocations: 12.03 kB / 0.6235 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000695/0.1699, allocations: 256.4 kB / 0.6237 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.1704, allocations: 355.7 kB / 0.6241 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.1704, allocations: 41.11 kB / 0.6241 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.1704, allocations: 44 kB / 0.6241 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005658/0.171, allocations: 0.6793 MB / 0.6248 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.171, allocations: 7.938 kB / 0.6248 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.487e-05/0.1711, allocations: 20 kB / 0.6248 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/0.1711, allocations: 24.92 kB / 0.6248 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.1713, allocations: 160.5 kB / 0.625 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.173, allocations: 1.317 MB / 0.6263 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.1732, allocations: 125.2 kB / 0.6264 GB, free: 5.121 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.899e-05/0.1733, allocations: 32.86 kB / 0.6264 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1733, allocations: 7.984 kB / 0.6264 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.1733, allocations: 38.55 kB / 0.6265 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 2.384e-06/0.1733, allocations: 0 / 0.6265 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.001282/0.1746, allocations: 424.3 kB / 0.6269 GB, free: 4.609 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.1746, allocations: 84.98 kB / 0.627 GB, free: 4.508 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.1748, allocations: 355.2 kB / 0.6273 GB, free: 4.152 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.1749, allocations: 25.7 kB / 0.6273 GB, free: 4.121 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.175, allocations: 284.6 kB / 0.6276 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.175, allocations: 39.62 kB / 0.6276 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/0.1751, allocations: 61.62 kB / 0.6277 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.1752, allocations: 350.7 kB / 0.628 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-05/0.1752, allocations: 34.81 kB / 0.6281 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.643e-05/0.1753, allocations: 126.1 kB / 0.6282 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.1756, allocations: 146.8 kB / 0.6283 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1756, allocations: 4 kB / 0.6283 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005537/0.1761, allocations: 293 kB / 0.6286 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1761, allocations: 4 kB / 0.6286 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1761, allocations: 4 kB / 0.6286 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/0.1767, allocations: 239.6 kB / 0.6288 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.1769, allocations: 59.89 kB / 0.6289 GB, free: 2.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.178, allocations: 1.414 MB / 0.6303 GB, free: 0.8867 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.1782, allocations: 47.75 kB / 0.6303 GB, free: 0.8398 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.1782, allocations: 8 kB / 0.6303 GB, free: 0.832 MB / 0.5886 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.1783, allocations: 136.6 kB / 0.6305 GB, free: 0.6875 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.1784, allocations: 35.89 kB / 0.6305 GB, free: 0.6523 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.1784, allocations: 35.28 kB / 0.6305 GB, free: 0.6211 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1784, allocations: 4 kB / 0.6305 GB, free: 0.6172 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1784, allocations: 192 / 0.6305 GB, free: 0.6172 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1784, allocations: 0 / 0.6305 GB, free: 0.6172 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007563/0.1792, allocations: 0.5347 MB / 0.6311 GB, free: 48 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1792, allocations: 0 / 0.6311 GB, free: 48 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.09e-05/0.1793, allocations: 23.97 kB / 0.6311 GB, free: 24 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005847/0.1798, allocations: 254.2 kB / 0.6313 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1799, allocations: 0 / 0.6313 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.181, allocations: 1.399 MB / 0.6327 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.181, allocations: 7.969 kB / 0.6327 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005215/0.1815, allocations: 374.2 kB / 0.6331 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.691e-05/0.1816, allocations: 59.62 kB / 0.6331 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.1817, allocations: 0 / 0.6331 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.1819, allocations: 36.91 kB / 0.6331 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.1819, allocations: 7.984 kB / 0.6332 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.1819, allocations: 11.98 kB / 0.6332 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001086/0.182, allocations: 144.6 kB / 0.6333 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3e-08/0.182, allocations: 0 / 0.6333 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004312/0.1825, allocations: 195.6 kB / 0.6335 GB, free: 13.43 MB / 0.6042 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002341/0.1827, allocations: 134.7 kB / 0.6336 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003821/0.1831, allocations: 243.5 kB / 0.6339 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.1831, allocations: 8.188 kB / 0.6339 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.1832, allocations: 175.3 kB / 0.634 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.1837, allocations: 211.1 kB / 0.6342 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.1853, allocations: 0.904 MB / 0.6351 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.696e-05/0.1854, allocations: 125.2 kB / 0.6352 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001911/0.1856, allocations: 63.25 kB / 0.6353 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/0.1859, allocations: 211.1 kB / 0.6355 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of SimCode: time 6.21e-07/0.1859, allocations: 0 / 0.6355 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.01233/0.1982, allocations: 10.15 MB / 0.6454 GB, free: 1.406 MB / 0.6042 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.1275918846949935]