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.0009389/0.0009389, allocations: 92.22 kB / 19.65 MB, free: 276 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.001451/0.001451, allocations: 169 kB / 23.02 MB, free: 1.547 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.9373/0.9373, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.8244/0.8244, allocations: 154.6 MB / 414.5 MB, free: 0.6953 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.974e-06/1.974e-06, allocations: 0 / 0.5203 GB, free: 2.254 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.842e-05, allocations: 3.219 kB / 0.5203 GB, free: 2.25 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1351/0.1351, allocations: 148.3 MB / 0.6651 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003984/0.1391, allocations: 3.453 MB / 0.6685 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003751/0.1394, allocations: 31.75 kB / 0.6685 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000714/0.1402, allocations: 170.7 kB / 0.6687 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.1416, allocations: 0.8002 MB / 0.6694 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.1429, allocations: 0.7049 MB / 0.6701 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001075/0.144, allocations: 1.317 MB / 0.6714 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004233/0.1444, allocations: 384.1 kB / 0.6718 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009041/0.1453, allocations: 0.6935 MB / 0.6725 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006875/0.146, allocations: 439.6 kB / 0.6729 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.799e-05/0.1461, allocations: 52 kB / 0.6729 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007341/0.1468, allocations: 0.6507 MB / 0.6736 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.147, allocations: 235.3 kB / 0.6738 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.1471, allocations: 239.4 kB / 0.674 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000935/0.1481, allocations: 0.8879 MB / 0.6749 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1481, allocations: 0 / 0.6749 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1481, allocations: 0 / 0.6749 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.1481, allocations: 0 / 0.6749 GB, free: 3.602 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.001363/0.1495, allocations: 0.9859 MB / 0.6758 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1495, allocations: 8.031 kB / 0.6759 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008297/0.1503, allocations: 284.1 kB / 0.6761 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005462/0.1509, allocations: 446 kB / 0.6766 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.1509, allocations: 33.12 kB / 0.6766 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.842e-05/0.151, allocations: 51.98 kB / 0.6766 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000755/0.1517, allocations: 0.7457 MB / 0.6774 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1517, allocations: 0 / 0.6774 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.1518, allocations: 16 kB / 0.6774 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.917e-05/0.1518, allocations: 20.98 kB / 0.6774 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.1521, allocations: 205.8 kB / 0.6776 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2568/0.4089, allocations: 1.83 MB / 0.6794 GB, free: 60.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.4092, allocations: 106.4 kB / 0.6795 GB, free: 60.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.734e-05/0.4093, allocations: 44.58 kB / 0.6795 GB, free: 60.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.4093, allocations: 4.406 kB / 0.6795 GB, free: 60.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.4093, allocations: 42.86 kB / 0.6796 GB, free: 60.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.934e-06/0.4093, allocations: 0 / 0.6796 GB, free: 60.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001893/0.4112, allocations: 497.6 kB / 0.68 GB, free: 60.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.4112, allocations: 84.69 kB / 0.6801 GB, free: 60.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.4115, allocations: 432.9 kB / 0.6805 GB, free: 60.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.4116, allocations: 31.48 kB / 0.6806 GB, free: 60.01 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.4117, allocations: 367.8 kB / 0.6809 GB, free: 59.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.4117, allocations: 43.47 kB / 0.681 GB, free: 59.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.166e-05/0.4118, allocations: 68.72 kB / 0.681 GB, free: 59.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.265e-05/0.4119, allocations: 0.5198 MB / 0.6815 GB, free: 59.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.412, allocations: 38.14 kB / 0.6816 GB, free: 59.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.4121, allocations: 182.5 kB / 0.6817 GB, free: 59.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.4123, allocations: 180.9 kB / 0.6819 GB, free: 59.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4123, allocations: 0.5312 kB / 0.6819 GB, free: 59.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008745/0.4132, allocations: 367.5 kB / 0.6823 GB, free: 58.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4132, allocations: 8.172 kB / 0.6823 GB, free: 58.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4132, allocations: 2.938 kB / 0.6823 GB, free: 58.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008448/0.4141, allocations: 242.3 kB / 0.6825 GB, free: 58.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.4143, allocations: 62.17 kB / 0.6826 GB, free: 58.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.4157, allocations: 2.047 MB / 0.6846 GB, free: 57.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.416, allocations: 46.83 kB / 0.6846 GB, free: 57.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.416, allocations: 15.34 kB / 0.6846 GB, free: 57.2 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.0001071/0.4161, allocations: 171.4 kB / 0.6848 GB, free: 57.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.4162, allocations: 44.61 kB / 0.6848 GB, free: 57.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.903e-05/0.4163, allocations: 45.06 kB / 0.6849 GB, free: 57.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4163, allocations: 3.125 kB / 0.6849 GB, free: 57.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.4163, allocations: 0.9688 kB / 0.6849 GB, free: 57.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4163, allocations: 6.75 kB / 0.6849 GB, free: 57.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.4173, allocations: 0.7041 MB / 0.6856 GB, free: 56.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4173, allocations: 0 / 0.6856 GB, free: 56.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.4174, allocations: 34.56 kB / 0.6856 GB, free: 56.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007207/0.4182, allocations: 232.6 kB / 0.6858 GB, free: 56.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.4182, allocations: 10.08 kB / 0.6858 GB, free: 56.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001155/0.4193, allocations: 1.996 MB / 0.6878 GB, free: 54.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4193, allocations: 1.094 kB / 0.6878 GB, free: 54.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/0.4201, allocations: 445.6 kB / 0.6882 GB, free: 54.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.4202, allocations: 75.44 kB / 0.6883 GB, free: 54.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.4202, allocations: 2.938 kB / 0.6883 GB, free: 54.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.4205, allocations: 30.28 kB / 0.6883 GB, free: 54.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.4206, allocations: 19.62 kB / 0.6883 GB, free: 54.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.4206, allocations: 16.8 kB / 0.6884 GB, free: 54.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000176/0.4208, allocations: 279.2 kB / 0.6886 GB, free: 54.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.4208, allocations: 0.5938 kB / 0.6886 GB, free: 54.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005342/0.4213, allocations: 192 kB / 0.6888 GB, free: 54.55 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.0002172/0.4215, allocations: 148.6 kB / 0.6889 GB, free: 54.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004692/0.422, allocations: 332.7 kB / 0.6893 GB, free: 54.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.422, allocations: 4.75 kB / 0.6893 GB, free: 54.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.4222, allocations: 242.7 kB / 0.6895 GB, free: 54.09 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000745/0.4229, allocations: 210.8 kB / 0.6897 GB, free: 54.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.4247, allocations: 0.8887 MB / 0.6906 GB, free: 53.68 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.35e-05/0.4248, allocations: 132.7 kB / 0.6907 GB, free: 53.61 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002256/0.425, allocations: 73.02 kB / 0.6908 GB, free: 53.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.41e-05/0.4251, allocations: 33.34 kB / 0.6908 GB, free: 53.59 MB / 0.6355 GB Notification: Performance of SimCode: time 5.71e-07/0.4251, allocations: 0 / 0.6908 GB, free: 53.59 MB / 0.6355 GB Notification: Performance of Templates: time 0.01175/0.4368, allocations: 9.572 MB / 0.7001 GB, free: 52.98 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.477976555004716]