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.001459/0.001459, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001858/0.001858, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9967/0.9967, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.7528/0.7528, allocations: 154.6 MB / 415.6 MB, free: 0.5156 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.623e-06/1.623e-06, allocations: 0 / 0.5215 GB, free: 1.973 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.909e-05, allocations: 5.406 kB / 0.5215 GB, free: 1.969 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1663/0.1663, allocations: 145.5 MB / 0.6636 GB, free: 120 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004505/0.1708, allocations: 3.428 MB / 0.667 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004533/0.1713, allocations: 39.69 kB / 0.667 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004884/0.1718, allocations: 166.8 kB / 0.6672 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.1732, allocations: 0.8002 MB / 0.6679 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.1744, allocations: 0.7109 MB / 0.6686 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001272/0.1757, allocations: 1.313 MB / 0.6699 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004763/0.1762, allocations: 392.1 kB / 0.6703 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.1774, allocations: 0.7956 MB / 0.6711 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000485/0.1778, allocations: 406.9 kB / 0.6714 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.643e-05/0.1779, allocations: 52 kB / 0.6715 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008748/0.1788, allocations: 0.5727 MB / 0.6721 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.179, allocations: 227.3 kB / 0.6723 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.1792, allocations: 235.5 kB / 0.6725 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.1803, allocations: 0.8567 MB / 0.6733 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1803, allocations: 0 / 0.6733 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1803, allocations: 0 / 0.6733 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.1803, allocations: 4 kB / 0.6733 GB, free: 6.148 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.00131/0.1816, allocations: 0.9702 MB / 0.6743 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1816, allocations: 12.03 kB / 0.6743 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.1827, allocations: 268.1 kB / 0.6746 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006514/0.1834, allocations: 429 kB / 0.675 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.1834, allocations: 33.12 kB / 0.675 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/0.1835, allocations: 44 kB / 0.675 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006809/0.1842, allocations: 0.6892 MB / 0.6757 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1842, allocations: 0 / 0.6757 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.1842, allocations: 20 kB / 0.6757 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.978e-05/0.1842, allocations: 17 kB / 0.6757 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.1845, allocations: 162.8 kB / 0.6759 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.1866, allocations: 1.735 MB / 0.6776 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.1868, allocations: 102.9 kB / 0.6777 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.1869, allocations: 39.66 kB / 0.6777 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1869, allocations: 8 kB / 0.6777 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1869, allocations: 37.39 kB / 0.6778 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.465e-06/0.1869, allocations: 0 / 0.6778 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001412/0.1884, allocations: 448.7 kB / 0.6782 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.1884, allocations: 81.11 kB / 0.6783 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.1887, allocations: 430.3 kB / 0.6787 GB, free: 380 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.1887, allocations: 29.7 kB / 0.6787 GB, free: 344 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.2952/0.4839, allocations: 360.6 kB / 0.6791 GB, free: 63.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.654e-05/0.484, allocations: 45.66 kB / 0.6791 GB, free: 63.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.4841, allocations: 64.8 kB / 0.6792 GB, free: 63.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.752e-05/0.4842, allocations: 0.5282 MB / 0.6797 GB, free: 62.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.517e-05/0.4843, allocations: 33.31 kB / 0.6797 GB, free: 62.79 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.4844, allocations: 168.2 kB / 0.6799 GB, free: 62.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.4845, allocations: 166.2 kB / 0.68 GB, free: 62.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4845, allocations: 3.969 kB / 0.68 GB, free: 62.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007657/0.4853, allocations: 336.7 kB / 0.6804 GB, free: 62.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.4853, allocations: 6.281 kB / 0.6804 GB, free: 62.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.4853, allocations: 6.484 kB / 0.6804 GB, free: 62.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006688/0.486, allocations: 247.3 kB / 0.6806 GB, free: 62.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.4862, allocations: 53.48 kB / 0.6807 GB, free: 62.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.4874, allocations: 1.994 MB / 0.6826 GB, free: 60.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.4877, allocations: 46.61 kB / 0.6827 GB, free: 60.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.4877, allocations: 9.812 kB / 0.6827 GB, free: 60.76 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.0001601/0.4878, allocations: 175.1 kB / 0.6828 GB, free: 60.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.4879, allocations: 56.58 kB / 0.6829 GB, free: 60.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.712e-05/0.4879, allocations: 34.2 kB / 0.6829 GB, free: 60.58 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.488, allocations: 0.7812 kB / 0.6829 GB, free: 60.58 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.488, allocations: 0 / 0.6829 GB, free: 60.58 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.488, allocations: 3.766 kB / 0.6829 GB, free: 60.58 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008552/0.4888, allocations: 0.6063 MB / 0.6835 GB, free: 60.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.4888, allocations: 1.062 kB / 0.6835 GB, free: 60.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.889e-05/0.4889, allocations: 24.98 kB / 0.6835 GB, free: 60.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005626/0.4895, allocations: 238.6 kB / 0.6838 GB, free: 60.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.4895, allocations: 9.469 kB / 0.6838 GB, free: 60.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009172/0.4904, allocations: 1.958 MB / 0.6857 GB, free: 58.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4904, allocations: 2.844 kB / 0.6857 GB, free: 58.56 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005647/0.491, allocations: 415 kB / 0.6861 GB, free: 58.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.796e-05/0.4911, allocations: 73.84 kB / 0.6862 GB, free: 58.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.4911, allocations: 0 / 0.6862 GB, free: 58.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.4913, allocations: 29.66 kB / 0.6862 GB, free: 58.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.4913, allocations: 12.42 kB / 0.6862 GB, free: 58.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.4913, allocations: 20 kB / 0.6862 GB, free: 58.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001218/0.4915, allocations: 262.2 kB / 0.6865 GB, free: 58.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4915, allocations: 0.9062 kB / 0.6865 GB, free: 58.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004585/0.4919, allocations: 203.8 kB / 0.6867 GB, free: 58.16 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.0002007/0.4921, allocations: 149.3 kB / 0.6868 GB, free: 58.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003716/0.4925, allocations: 316 kB / 0.6871 GB, free: 57.89 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4925, allocations: 0.7656 kB / 0.6871 GB, free: 57.89 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.4926, allocations: 242.2 kB / 0.6873 GB, free: 57.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/0.4932, allocations: 208.4 kB / 0.6875 GB, free: 57.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.4947, allocations: 0.8896 MB / 0.6884 GB, free: 57.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.495e-05/0.4948, allocations: 134.7 kB / 0.6885 GB, free: 57.22 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002155/0.495, allocations: 65.81 kB / 0.6886 GB, free: 57.22 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003479/0.4953, allocations: 265.5 kB / 0.6888 GB, free: 57.16 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/0.4953, allocations: 0 / 0.6888 GB, free: 57.16 MB / 0.6355 GB Notification: Performance of Templates: time 0.01247/0.5078, allocations: 10.45 MB / 0.6991 GB, free: 56.5 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: 4.330514728091657]