Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Processes.Tests.SimpleFlow.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.00175/0.00175, allocations: 95.92 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.001494/0.001494, allocations: 210.1 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1354/0.1354, allocations: 23.93 MB / 337.1 MB, free: 10.91 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.Processes.Tests.SimpleFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Processes.Tests.SimpleFlow") translateModel(Chemical.Processes.Tests.SimpleFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Processes.Tests.SimpleFlow") [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.002105/0.002105, allocations: 67.89 kB / 472.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2991, allocations: 59.88 MB / 0.5198 GB, free: 9.758 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1336:7-1336:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1336:7-1336:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Processes.Tests.SimpleFlow): time 0.07516/0.3743, allocations: 28.32 MB / 0.5475 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01367/0.3879, allocations: 7.976 MB / 0.5553 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.3893, allocations: 39.75 kB / 0.5553 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003184/0.3925, allocations: 0.9282 MB / 0.5562 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002726/0.3952, allocations: 0.8482 MB / 0.557 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002617/0.3979, allocations: 0.9068 MB / 0.5579 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002882/0.4007, allocations: 1.988 MB / 0.5599 GB, free: 220 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007466/0.4015, allocations: 434.4 kB / 0.5603 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.4026, allocations: 0.8282 MB / 0.5611 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.4041, allocations: 1.117 MB / 0.5622 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002746/0.4044, allocations: 208 kB / 0.5624 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002672/0.407, allocations: 1.063 MB / 0.5634 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005755/0.4076, allocations: 0.5968 MB / 0.564 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008896/0.4085, allocations: 0.8619 MB / 0.5648 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004823/0.4133, allocations: 3.842 MB / 0.5686 GB, free: 7.777 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4133, allocations: 0 / 0.5686 GB, free: 7.777 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.4133, allocations: 3.984 kB / 0.5686 GB, free: 7.773 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.901e-05/0.4134, allocations: 0 / 0.5686 GB, free: 7.773 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.004251/0.4176, allocations: 2.526 MB / 0.5711 GB, free: 5.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.4177, allocations: 12.03 kB / 0.5711 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000921/0.4186, allocations: 407 kB / 0.5715 GB, free: 4.793 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.4201, allocations: 0.909 MB / 0.5724 GB, free: 3.855 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002602/0.4203, allocations: 275.4 kB / 0.5726 GB, free: 3.559 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003023/0.4206, allocations: 204.3 kB / 0.5728 GB, free: 3.359 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008333/0.429, allocations: 6.895 MB / 0.5795 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.418e-05/0.429, allocations: 0 / 0.5795 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/0.4292, allocations: 79.98 kB / 0.5796 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003777/0.4296, allocations: 332.8 kB / 0.5799 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01363/0.4432, allocations: 12.6 MB / 0.5922 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01628/0.4595, allocations: 9.949 MB / 0.602 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.4611, allocations: 0.7296 MB / 0.6027 GB, free: 4.602 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007405/0.4619, allocations: 382.7 kB / 0.603 GB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007121/0.469, allocations: 3.236 MB / 0.6062 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.469, allocations: 43.06 kB / 0.6062 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.394e-06/0.469, allocations: 0 / 0.6062 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of matching and sorting (n=68): time 0.00714/0.4762, allocations: 2.584 MB / 0.6088 GB, free: 14.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.4762, allocations: 60.06 kB / 0.6088 GB, free: 14.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.4775, allocations: 1.014 MB / 0.6098 GB, free: 13.17 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-05/0.4776, allocations: 33.7 kB / 0.6098 GB, free: 13.13 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008274/0.4784, allocations: 1.162 MB / 0.611 GB, free: 11.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.4787, allocations: 253.8 kB / 0.6112 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004704/0.4791, allocations: 298.8 kB / 0.6115 GB, free: 11.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.4793, allocations: 357.9 kB / 0.6118 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007273/0.48, allocations: 386.4 kB / 0.6122 GB, free: 10.67 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.4811, allocations: 0.8282 MB / 0.613 GB, free: 9.629 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.4831, allocations: 1.29 MB / 0.6143 GB, free: 8.121 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.4831, allocations: 4 kB / 0.6143 GB, free: 8.117 MB / 462.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003715/0.4868, allocations: 1.538 MB / 0.6158 GB, free: 6.566 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.4868, allocations: 12 kB / 0.6158 GB, free: 6.555 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.4868, allocations: 12 kB / 0.6158 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003617/0.4872, allocations: 129.7 kB / 0.6159 GB, free: 6.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/0.4895, allocations: 447.3 kB / 0.6164 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003064/0.4926, allocations: 2.719 MB / 0.619 GB, free: 3.047 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000786/0.4934, allocations: 47.86 kB / 0.6191 GB, free: 3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000243/0.4936, allocations: 176.3 kB / 0.6192 GB, free: 2.828 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 2 (substance.substanceDefinitionVar.SelfClustering,substance.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001036/0.4947, allocations: 0.6059 MB / 0.6198 GB, free: 2.215 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/0.4949, allocations: 123.2 kB / 0.6199 GB, free: 2.094 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003953/0.4989, allocations: 1.518 MB / 0.6214 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.4989, allocations: 3.984 kB / 0.6214 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4989, allocations: 0 / 0.6214 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.4991, allocations: 95.25 kB / 0.6215 GB, free: 452 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.4992, allocations: 12 kB / 0.6215 GB, free: 440 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.4996, allocations: 15.98 kB / 0.6215 GB, free: 424 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.359e-05/0.4997, allocations: 40.58 kB / 0.6216 GB, free: 384 kB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002313/0.502, allocations: 0.7621 MB / 0.6223 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00163/0.5036, allocations: 1.08 MB / 0.6234 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004002/0.504, allocations: 229.1 kB / 0.6236 GB, free: 14.27 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001007/0.505, allocations: 0.7585 MB / 0.6243 GB, free: 13.51 MB / 478.1 MB Notification: Performance of Backend: time 7.91e-07/0.505, allocations: 0 / 0.6243 GB, free: 13.51 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003064/0.5081, allocations: 1.282 MB / 0.6256 GB, free: 12.2 MB / 478.1 MB Notification: Performance of SimCode: time 0.006136/0.5142, allocations: 3.955 MB / 0.6295 GB, free: 8.188 MB / 478.1 MB Notification: Performance of Templates: time 0.04513/0.5594, allocations: 28.57 MB / 0.6574 GB, free: 11.84 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Processes.Tests.SimpleFlow.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe ; mkfifo Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe ; head -c 1048576 < Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe >> ../files/Chemical_master_Chemical.Processes.Tests.SimpleFlow.sim & ./Chemical_master_Chemical.Processes.Tests.SimpleFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.647000996992574] Failed to read output from testmodel.py, exit status != 0: 0.5678714850073447 0.581591453 0.165238762 Calling exit ...