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.001337/0.001337, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001608/0.001608, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.022/1.022, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.08842/0.08842, allocations: 17.47 MB / 277.7 MB, free: 11.45 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 300.8 MB, free: 1.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.638e-05, allocations: 2.875 kB / 300.8 MB, free: 1.512 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1343:7-1343: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:1343:7-1343: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.05301/0.05304, allocations: 38.47 MB / 339.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01339/0.06643, allocations: 9.809 MB / 349 MB, free: 3.855 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.06789, allocations: 55.56 kB / 349.1 MB, free: 3.801 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.07016, allocations: 1.091 MB / 350.2 MB, free: 2.703 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002173/0.07233, allocations: 1.094 MB / 351.3 MB, free: 1.602 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.07474, allocations: 1.115 MB / 352.4 MB, free: 492 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00245/0.07719, allocations: 2.256 MB / 354.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005472/0.07774, allocations: 476.3 kB / 355.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/0.07914, allocations: 1.329 MB / 356.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.0803, allocations: 0.9234 MB / 357.4 MB, free: 11.44 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000329/0.08062, allocations: 212 kB / 357.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002505/0.08313, allocations: 1.361 MB / 358.9 MB, free: 9.867 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000634/0.08376, allocations: 0.6658 MB / 359.6 MB, free: 9.199 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007689/0.08453, allocations: 0.7442 MB / 360.3 MB, free: 8.453 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003873/0.08841, allocations: 3.173 MB / 363.5 MB, free: 5.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.08841, allocations: 0 / 363.5 MB, free: 5.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.08841, allocations: 3.938 kB / 363.5 MB, free: 5.266 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.731e-05/0.08848, allocations: 0 / 363.5 MB, free: 5.266 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 634 * Number of variables: 634 Notification: Performance of Generate backend data structure: time 0.0025/0.09098, allocations: 2.562 MB / 366.1 MB, free: 2.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.09102, allocations: 12.03 kB / 366.1 MB, free: 2.648 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.09219, allocations: 0.8712 MB / 367 MB, free: 1.777 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.0932, allocations: 0.8863 MB / 367.9 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.09336, allocations: 275.4 kB / 368.1 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.09352, allocations: 200.4 kB / 368.3 MB, free: 364 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.09556, allocations: 2.445 MB / 370.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.09558, allocations: 192 / 370.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-05/0.09567, allocations: 88.11 kB / 370.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002261/0.0959, allocations: 328.8 kB / 371.2 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002583/0.09848, allocations: 2.907 MB / 374.1 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007306/0.1058, allocations: 6.789 MB / 380.9 MB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009369/0.1067, allocations: 466.2 kB / 381.3 MB, free: 3.141 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.1069, allocations: 147.8 kB / 381.5 MB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003352/0.1103, allocations: 2.599 MB / 384.1 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1103, allocations: 43.06 kB / 384.1 MB, free: 336 kB / 346.7 MB Notification: Performance of pre-optimization done (n=60): time 2.615e-06/0.1103, allocations: 0 / 384.1 MB, free: 336 kB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.003031/0.1134, allocations: 1.407 MB / 385.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.1134, allocations: 56.06 kB / 385.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006086/0.114, allocations: 0.8406 MB / 386.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.1141, allocations: 37.7 kB / 386.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/0.1145, allocations: 1.043 MB / 387.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.1146, allocations: 249.9 kB / 387.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.1149, allocations: 254.7 kB / 388 MB, free: 12.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000366/0.1152, allocations: 345.9 kB / 388.3 MB, free: 12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.1154, allocations: 130.5 kB / 388.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.1158, allocations: 0.6175 MB / 389.1 MB, free: 11.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007307/0.1166, allocations: 0.8983 MB / 390 MB, free: 9.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.1166, allocations: 7.938 kB / 390 MB, free: 9.891 MB / 362.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001291/0.1179, allocations: 0.8516 MB / 390.8 MB, free: 9.027 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.1179, allocations: 16.25 kB / 390.8 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.1179, allocations: 16 kB / 390.9 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001995/0.1181, allocations: 93.58 kB / 390.9 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.1196, allocations: 0.55 MB / 391.5 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.1211, allocations: 2.402 MB / 393.9 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/0.1216, allocations: 44 kB / 393.9 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.1218, allocations: 136.1 kB / 394.1 MB, free: 5.594 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 2 (substance.substanceDefinitionVar.data.phase,substance.substanceDefinitionVar.SelfClustering) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 134 * 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.0005719/0.1223, allocations: 200.1 kB / 394.3 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.1225, allocations: 103.9 kB / 394.4 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/0.1244, allocations: 1.107 MB / 395.5 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1244, allocations: 8 kB / 395.5 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1244, allocations: 0 / 395.5 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1245, allocations: 15.8 kB / 395.5 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.1266, allocations: 1.335 MB / 396.8 MB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1266, allocations: 4.469 kB / 396.8 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.1276, allocations: 343.6 kB / 397.2 MB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001395/0.1278, allocations: 77.58 kB / 397.2 MB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.1278, allocations: 15.98 kB / 397.3 MB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.1291, allocations: 2.359 MB / 399.6 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.1291, allocations: 4 kB / 399.6 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.1303, allocations: 0.7416 MB / 400.4 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.1304, allocations: 99.19 kB / 400.5 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.797e-05/0.1305, allocations: 19.98 kB / 400.5 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.1307, allocations: 23.97 kB / 400.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.252e-05/0.1308, allocations: 56.34 kB / 400.6 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.1308, allocations: 16 kB / 400.6 MB, free: 14.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004033/0.1312, allocations: 427.9 kB / 401 MB, free: 14.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1312, allocations: 0 / 401 MB, free: 14.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001209/0.1324, allocations: 423.7 kB / 401.4 MB, free: 13.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (substance.logn,substance1.logn) * 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 (61): * Single equations (assignments): 59 * 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 Backend phase and start with SimCode phase: time 0.0004696/0.1329, allocations: 348.5 kB / 401.8 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.1341, allocations: 0.7462 MB / 402.5 MB, free: 12.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.506e-05/0.1342, allocations: 17.81 kB / 402.5 MB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003531/0.1345, allocations: 411 kB / 402.9 MB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007143/0.1352, allocations: 300 kB / 403.2 MB, free: 12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.1395, allocations: 3.465 MB / 406.7 MB, free: 8.434 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.1398, allocations: 436.7 kB / 407.1 MB, free: 7.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007918/0.1406, allocations: 364.6 kB / 407.5 MB, free: 7.621 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006264/0.1412, allocations: 353.1 kB / 407.8 MB, free: 7.273 MB / 378.7 MB Notification: Performance of SimCode: time 1.843e-06/0.1412, allocations: 0 / 407.8 MB, free: 7.273 MB / 378.7 MB Notification: Performance of Templates: time 0.03044/0.1717, allocations: 24.17 MB / 432 MB, free: 15.27 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5572782289236784]