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.0008196/0.0008196, allocations: 80.48 kB / 19.93 MB, free: 4.621 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.0008222/0.0008222, allocations: 173.9 kB / 23.21 MB, free: 1.34 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.9065/0.9065, allocations: 177.2 MB / 203.5 MB, free: 5.742 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-531:686: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-531:694: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.7221/0.7221, allocations: 154.6 MB / 414.5 MB, free: 0.8164 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.553e-06/1.553e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.022e-05, allocations: 6.156 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4488/0.4488, allocations: 150.8 MB / 0.7666 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005484/0.4543, allocations: 4.027 MB / 0.7705 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007586/0.4551, allocations: 26.5 kB / 0.7705 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008485/0.4559, allocations: 336.4 kB / 0.7709 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002166/0.4581, allocations: 1.075 MB / 0.7719 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.4599, allocations: 0.8547 MB / 0.7728 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001675/0.4615, allocations: 1.333 MB / 0.7741 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005855/0.4621, allocations: 370.3 kB / 0.7744 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.4634, allocations: 0.898 MB / 0.7753 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009123/0.4643, allocations: 419.8 kB / 0.7757 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.889e-05/0.4644, allocations: 51.81 kB / 0.7757 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.4656, allocations: 0.7642 MB / 0.7765 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.4658, allocations: 230 kB / 0.7767 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.466, allocations: 233.8 kB / 0.7769 GB, free: 492 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.4677, allocations: 1.176 MB / 0.7781 GB, free: 84 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.4677, allocations: 0 / 0.7781 GB, free: 84 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4677, allocations: 0 / 0.7781 GB, free: 84 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.4677, allocations: 5.062 kB / 0.7781 GB, free: 80 kB / 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.001244/0.4689, allocations: 0.887 MB / 0.7789 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.469, allocations: 9.594 kB / 0.779 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008715/0.4698, allocations: 262.1 kB / 0.7792 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006297/0.4705, allocations: 432 kB / 0.7796 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.4705, allocations: 34.44 kB / 0.7796 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.4705, allocations: 46.17 kB / 0.7797 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009048/0.4714, allocations: 0.8939 MB / 0.7806 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4715, allocations: 0 / 0.7806 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/0.4715, allocations: 21.66 kB / 0.7806 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.4715, allocations: 19.59 kB / 0.7806 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000795/0.4723, allocations: 0.5467 MB / 0.7811 GB, free: 14.31 MB / 0.6511 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.002282/0.4746, allocations: 1.795 MB / 0.7829 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.4751, allocations: 276.9 kB / 0.7832 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.4754, allocations: 161.2 kB / 0.7833 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.4754, allocations: 7.609 kB / 0.7833 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.4754, allocations: 38.16 kB / 0.7833 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/0.4754, allocations: 0 / 0.7833 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.00252/0.478, allocations: 1.005 MB / 0.7843 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.478, allocations: 79.36 kB / 0.7844 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.4784, allocations: 419.2 kB / 0.7848 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.4784, allocations: 31.8 kB / 0.7848 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.4787, allocations: 316.1 kB / 0.7851 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.4787, allocations: 53.66 kB / 0.7852 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-05/0.4788, allocations: 57.44 kB / 0.7852 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.4789, allocations: 349.5 kB / 0.7856 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.4792, allocations: 187.6 kB / 0.7858 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.4796, allocations: 298.8 kB / 0.786 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005975/0.4802, allocations: 401.3 kB / 0.7864 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.4802, allocations: 0 / 0.7864 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001437/0.4817, allocations: 0.7233 MB / 0.7871 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.4817, allocations: 9.656 kB / 0.7871 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.4817, allocations: 2.344 kB / 0.7871 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004144/0.4821, allocations: 181.3 kB / 0.7873 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.4823, allocations: 76.95 kB / 0.7874 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.4846, allocations: 2.065 MB / 0.7894 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.4849, allocations: 63.28 kB / 0.7895 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.4849, allocations: 11.72 kB / 0.7895 GB, free: 9.652 MB / 0.6511 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.0003628/0.4853, allocations: 197.5 kB / 0.7897 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/0.4854, allocations: 45.02 kB / 0.7897 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.818e-05/0.4854, allocations: 45.73 kB / 0.7898 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4854, allocations: 1.219 kB / 0.7898 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.4854, allocations: 0 / 0.7898 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4854, allocations: 2.531 kB / 0.7898 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.4869, allocations: 0.9969 MB / 0.7907 GB, free: 8.992 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.4869, allocations: 2.562 kB / 0.7907 GB, free: 8.992 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.487, allocations: 43.78 kB / 0.7908 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002835/0.4873, allocations: 184.4 kB / 0.7909 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.4873, allocations: 5.781 kB / 0.791 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/0.4891, allocations: 2.027 MB / 0.7929 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4891, allocations: 3.531 kB / 0.7929 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.4903, allocations: 0.6833 MB / 0.7936 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.4904, allocations: 85.23 kB / 0.7937 GB, free: 7.117 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.4904, allocations: 6.562 kB / 0.7937 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.4907, allocations: 48.05 kB / 0.7937 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.4907, allocations: 11.33 kB / 0.7937 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.4908, allocations: 17.34 kB / 0.7938 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002088/0.491, allocations: 289.2 kB / 0.794 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.1e-08/0.491, allocations: 0 / 0.794 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005306/0.4915, allocations: 199.3 kB / 0.7942 GB, free: 6.922 MB / 0.6511 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.0002516/0.4917, allocations: 173.9 kB / 0.7944 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008317/0.4926, allocations: 0.5112 MB / 0.7949 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4926, allocations: 3.938 kB / 0.7949 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.4929, allocations: 299 kB / 0.7952 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.4935, allocations: 201.6 kB / 0.7954 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.4952, allocations: 1.059 MB / 0.7964 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.4956, allocations: 262.8 kB / 0.7967 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.243e-05/0.4957, allocations: 39.03 kB / 0.7967 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of SimCode: time 6.42e-07/0.4957, allocations: 0 / 0.7967 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of Templates: time 0.008675/0.5043, allocations: 9.971 MB / 0.8064 GB, free: 0.6523 MB / 0.6511 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.536528413183987] Failed to read output from testmodel.py, exit status != 0: 0.511017276905477 0.5186697840000001 0.04929303 Calling exit ...