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.001283/0.001283, allocations: 80.22 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001362/0.001362, allocations: 163.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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.443/1.443, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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-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 1.209/1.209, allocations: 154.6 MB / 413.8 MB, free: 5.211 MB / 382.1 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 1.383e-06/1.383e-06, allocations: 0 / 0.6186 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.771e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4997/0.4997, allocations: 150.8 MB / 0.7658 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00692/0.5067, allocations: 4.029 MB / 0.7698 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006877/0.5073, allocations: 29.81 kB / 0.7698 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.5085, allocations: 335.3 kB / 0.7701 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002887/0.5113, allocations: 1.072 MB / 0.7712 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.5136, allocations: 0.8619 MB / 0.772 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001844/0.5155, allocations: 1.327 MB / 0.7733 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006309/0.5161, allocations: 380.1 kB / 0.7737 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.5176, allocations: 0.8949 MB / 0.7745 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000983/0.5186, allocations: 422.4 kB / 0.7749 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.873e-05/0.5187, allocations: 50.75 kB / 0.775 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.5201, allocations: 0.762 MB / 0.7757 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.5204, allocations: 229.5 kB / 0.776 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002853/0.5206, allocations: 233.3 kB / 0.7762 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.5222, allocations: 1.18 MB / 0.7773 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5222, allocations: 0 / 0.7773 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5222, allocations: 0 / 0.7773 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.5223, allocations: 0 / 0.7773 GB, free: 5.832 MB / 0.6231 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.001665/0.5239, allocations: 0.8905 MB / 0.7782 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.5239, allocations: 8.469 kB / 0.7782 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/0.5256, allocations: 259.2 kB / 0.7785 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008758/0.5265, allocations: 436.7 kB / 0.7789 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/0.5265, allocations: 32.09 kB / 0.7789 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.873e-05/0.5266, allocations: 36.75 kB / 0.7789 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.528, allocations: 0.9017 MB / 0.7798 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.528, allocations: 4 kB / 0.7798 GB, free: 3.918 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/0.5281, allocations: 17.62 kB / 0.7798 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-05/0.5281, allocations: 22.11 kB / 0.7799 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.5295, allocations: 0.5412 MB / 0.7804 GB, free: 3.645 MB / 0.6231 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.003722/0.5332, allocations: 1.796 MB / 0.7821 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009371/0.5342, allocations: 275.4 kB / 0.7824 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005373/0.5347, allocations: 165.9 kB / 0.7826 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.5347, allocations: 0 / 0.7826 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.5348, allocations: 39.72 kB / 0.7826 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.5348, allocations: 0 / 0.7826 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11): time 0.005155/0.5399, allocations: 1.012 MB / 0.7836 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.54, allocations: 83.95 kB / 0.7837 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/0.5405, allocations: 420.2 kB / 0.7841 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.5405, allocations: 32.02 kB / 0.7841 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.5408, allocations: 319.9 kB / 0.7844 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.5408, allocations: 36.94 kB / 0.7844 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.5409, allocations: 65.39 kB / 0.7845 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.5411, allocations: 347.1 kB / 0.7848 GB, free: 452 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005994/0.5417, allocations: 186.6 kB / 0.785 GB, free: 364 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006753/0.5424, allocations: 300.2 kB / 0.7853 GB, free: 136 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.5436, allocations: 405 kB / 0.7857 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5436, allocations: 0 / 0.7857 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00337/0.547, allocations: 0.7064 MB / 0.7864 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.547, allocations: 15.55 kB / 0.7864 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.547, allocations: 2.938 kB / 0.7864 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009336/0.5479, allocations: 181.7 kB / 0.7866 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/0.5485, allocations: 75.28 kB / 0.7866 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005922/0.5544, allocations: 2.078 MB / 0.7887 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008724/0.5553, allocations: 58.61 kB / 0.7887 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.5553, allocations: 15.78 kB / 0.7887 GB, free: 13.67 MB / 0.6387 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.0004115/0.5557, allocations: 196.2 kB / 0.7889 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.5559, allocations: 49.53 kB / 0.789 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.556, allocations: 36.5 kB / 0.789 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.556, allocations: 0 / 0.789 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.556, allocations: 2.906 kB / 0.789 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.556, allocations: 0 / 0.789 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004537/0.5606, allocations: 1.006 MB / 0.79 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.5606, allocations: 0 / 0.79 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003611/0.5609, allocations: 42.45 kB / 0.79 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008299/0.5618, allocations: 178.9 kB / 0.7902 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.5618, allocations: 10.89 kB / 0.7902 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005767/0.5676, allocations: 2.032 MB / 0.7922 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5676, allocations: 0 / 0.7922 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003792/0.5714, allocations: 0.6792 MB / 0.7929 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/0.5717, allocations: 82.14 kB / 0.7929 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.5718, allocations: 6.938 kB / 0.793 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008957/0.5727, allocations: 46.78 kB / 0.793 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/0.5728, allocations: 16.98 kB / 0.793 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.528e-05/0.5729, allocations: 16.17 kB / 0.793 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005454/0.5734, allocations: 289.7 kB / 0.7933 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5734, allocations: 0 / 0.7933 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001072/0.5745, allocations: 205.9 kB / 0.7935 GB, free: 10.27 MB / 0.6387 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.0004543/0.5749, allocations: 161.9 kB / 0.7937 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002277/0.5772, allocations: 0.5067 MB / 0.7941 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.5772, allocations: 0 / 0.7941 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.5783, allocations: 303.5 kB / 0.7944 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/0.58, allocations: 199 kB / 0.7946 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004519/0.5845, allocations: 1.021 MB / 0.7956 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.5849, allocations: 268.2 kB / 0.7959 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004963/0.5854, allocations: 84.14 kB / 0.796 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.5855, allocations: 33.89 kB / 0.796 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of SimCode: time 9.92e-07/0.5855, allocations: 0 / 0.796 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of Templates: time 0.02542/0.611, allocations: 9.583 MB / 0.8054 GB, free: 3.867 MB / 0.6387 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.583837267011404] Failed to read output from testmodel.py, exit status != 0: 0.6197078377008438 0.635231537 0.10973645600000001 Calling exit ...