Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.HeatingOfWater.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.001239/0.001239, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001873/0.001873, allocations: 210.6 kB / 23 MB, free: 4.934 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1407/0.1407, allocations: 23.93 MB / 337.1 MB, free: 11.02 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.HeatingOfWater") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003313/0.003313, allocations: 63.91 kB / 472.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3693, allocations: 59.89 MB / 0.5198 GB, free: 9.77 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1350:7-1350:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1350:7-1350:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfWater): time 0.07346/0.4427, allocations: 25.66 MB / 0.5449 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.4553, allocations: 7.254 MB / 0.552 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.4565, allocations: 19.88 kB / 0.552 GB, free: 7.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002586/0.4591, allocations: 0.6711 MB / 0.5526 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00196/0.4611, allocations: 0.582 MB / 0.5532 GB, free: 6.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.4634, allocations: 0.7418 MB / 0.5539 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001767/0.4652, allocations: 1.134 MB / 0.555 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004362/0.4656, allocations: 156.5 kB / 0.5552 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004524/0.4661, allocations: 390.1 kB / 0.5556 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007642/0.4669, allocations: 0.5097 MB / 0.5561 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.467, allocations: 84 kB / 0.5561 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.4693, allocations: 0.9092 MB / 0.557 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000285/0.4695, allocations: 258.6 kB / 0.5573 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003932/0.4699, allocations: 392.4 kB / 0.5577 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003269/0.4732, allocations: 2.21 MB / 0.5598 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4732, allocations: 0 / 0.5598 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4732, allocations: 4 kB / 0.5598 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.4732, allocations: 7.938 kB / 0.5598 GB, free: 0.5938 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002513/0.4757, allocations: 1.37 MB / 0.5612 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4758, allocations: 12.03 kB / 0.5612 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004731/0.4762, allocations: 194 kB / 0.5614 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008506/0.4771, allocations: 499.9 kB / 0.5618 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.4773, allocations: 128.7 kB / 0.562 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.4774, allocations: 88.36 kB / 0.562 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003692/0.4811, allocations: 3.086 MB / 0.5651 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.4811, allocations: 0 / 0.5651 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.472e-05/0.4812, allocations: 28 kB / 0.5651 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001777/0.4814, allocations: 134 kB / 0.5652 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006342/0.4877, allocations: 5.858 MB / 0.5709 GB, free: 5.344 MB / 414.1 MB 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.007688/0.4954, allocations: 4.481 MB / 0.5753 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008913/0.4963, allocations: 398.7 kB / 0.5757 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004328/0.4967, allocations: 236.8 kB / 0.5759 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004218/0.5009, allocations: 2.028 MB / 0.5779 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.501, allocations: 38.56 kB / 0.5779 GB, free: 14.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.501, allocations: 0 / 0.5779 GB, free: 14.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.01921/0.5202, allocations: 3.873 MB / 0.5817 GB, free: 10.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.5202, allocations: 55.41 kB / 0.5818 GB, free: 10.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.5213, allocations: 0.7229 MB / 0.5825 GB, free: 9.281 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.235e-05/0.5214, allocations: 29.7 kB / 0.5825 GB, free: 9.246 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005094/0.5219, allocations: 0.6357 MB / 0.5831 GB, free: 8.602 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.5221, allocations: 166.7 kB / 0.5833 GB, free: 8.438 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003586/0.5224, allocations: 226.5 kB / 0.5835 GB, free: 8.211 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.5227, allocations: 390.7 kB / 0.5839 GB, free: 7.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005427/0.5232, allocations: 281.9 kB / 0.5841 GB, free: 7.543 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008502/0.524, allocations: 0.6495 MB / 0.5848 GB, free: 6.719 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.5255, allocations: 1.007 MB / 0.5858 GB, free: 5.535 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.5255, allocations: 4 kB / 0.5858 GB, free: 5.531 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00616/0.5317, allocations: 1.49 MB / 0.5872 GB, free: 4.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.5317, allocations: 14.81 kB / 0.5872 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.918e-05/0.5318, allocations: 20.03 kB / 0.5872 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006107/0.5379, allocations: 0.6423 MB / 0.5879 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.5391, allocations: 255.6 kB / 0.5881 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00429/0.5434, allocations: 2.826 MB / 0.5909 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007711/0.5441, allocations: 36 kB / 0.5909 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.5443, allocations: 128 kB / 0.591 GB, free: 15.95 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 2 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(3,5), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006541/0.545, allocations: 344.5 kB / 0.5914 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.5452, allocations: 91.34 kB / 0.5914 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006605/0.5518, allocations: 1.44 MB / 0.5929 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.5518, allocations: 0 / 0.5929 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5518, allocations: 0 / 0.5929 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.552, allocations: 75.42 kB / 0.5929 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.5521, allocations: 7.984 kB / 0.5929 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.5525, allocations: 12 kB / 0.5929 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.5527, allocations: 56.33 kB / 0.593 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002595/0.5553, allocations: 0.8442 MB / 0.5938 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001491/0.5567, allocations: 0.9513 MB / 0.5948 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003679/0.5571, allocations: 191.4 kB / 0.5949 GB, free: 11.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006908/0.5578, allocations: 499 kB / 0.5954 GB, free: 11.4 MB / 446.1 MB Notification: Performance of Backend: time 3.91e-07/0.5578, allocations: 0 / 0.5954 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003377/0.5612, allocations: 1.096 MB / 0.5965 GB, free: 10.29 MB / 446.1 MB Notification: Performance of SimCode: time 0.003869/0.5651, allocations: 2.546 MB / 0.599 GB, free: 7.688 MB / 446.1 MB Notification: Performance of Templates: time 0.03675/0.6018, allocations: 23.11 MB / 0.6215 GB, free: 0.7031 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_master_Chemical.Examples.HeatingOfWater.sim & ./Chemical_master_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.656754284995259] Failed to read output from testmodel.py, exit status != 0: 0.6132415710017085 0.625721397 0.149236955 Calling exit ...