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.001377/0.001377, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001473/0.001473, allocations: 174.7 kB / 22.46 MB, free: 5.355 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.45/1.45, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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.1365/0.1365, allocations: 17.46 MB / 276.6 MB, free: 15.21 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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 412.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.889e-05, allocations: 2.281 kB / 412.1 MB, free: 4.305 MB / 334.1 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.03892/0.03895, allocations: 29.15 MB / 441.2 MB, free: 7.266 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2072/0.2461, allocations: 8.958 MB / 450.2 MB, free: 31.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.2476, allocations: 60.06 kB / 450.3 MB, free: 31.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003462/0.2511, allocations: 1.051 MB / 451.3 MB, free: 31.37 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003202/0.2543, allocations: 1.1 MB / 452.4 MB, free: 31.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003484/0.2578, allocations: 1.111 MB / 453.5 MB, free: 30.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003979/0.2618, allocations: 2.253 MB / 455.8 MB, free: 30.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007943/0.2626, allocations: 442.8 kB / 456.2 MB, free: 30.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.2648, allocations: 1.326 MB / 457.5 MB, free: 29.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.2664, allocations: 0.9533 MB / 458.5 MB, free: 29.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003273/0.2667, allocations: 209.5 kB / 458.7 MB, free: 29.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00471/0.2714, allocations: 1.359 MB / 460 MB, free: 29.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006755/0.2721, allocations: 0.6647 MB / 460.7 MB, free: 28.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.2733, allocations: 0.7502 MB / 461.5 MB, free: 28.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006037/0.2793, allocations: 4.071 MB / 465.5 MB, free: 27.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2793, allocations: 4.312 kB / 465.5 MB, free: 27.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2793, allocations: 0 / 465.5 MB, free: 27.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.598e-05/0.2794, allocations: 0 / 465.5 MB, free: 27.04 MB / 366.1 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.004175/0.2835, allocations: 2.6 MB / 468.1 MB, free: 25.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2836, allocations: 9.719 kB / 468.1 MB, free: 25.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.2846, allocations: 442.9 kB / 468.6 MB, free: 25.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.2863, allocations: 1.282 MB / 469.9 MB, free: 24.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.2865, allocations: 272.7 kB / 470.1 MB, free: 24.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002844/0.2868, allocations: 207.3 kB / 470.3 MB, free: 23.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006297/0.2931, allocations: 7.402 MB / 477.7 MB, free: 20.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/0.2932, allocations: 192 / 477.7 MB, free: 20.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.2933, allocations: 80.27 kB / 477.8 MB, free: 20.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002807/0.2936, allocations: 336.1 kB / 478.1 MB, free: 19.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00883/0.3024, allocations: 13.34 MB / 491.5 MB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/0.3166, allocations: 10.36 MB / 0.4901 GB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.3183, allocations: 0.7376 MB / 0.4908 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007644/0.3191, allocations: 411.7 kB / 0.4912 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007578/0.3267, allocations: 3.384 MB / 0.4945 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.3267, allocations: 46.48 kB / 0.4945 GB, free: 7.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.495e-06/0.3267, allocations: 0 / 0.4945 GB, free: 7.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=67): time 0.007697/0.3344, allocations: 2.571 MB / 0.497 GB, free: 5.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.3345, allocations: 56.06 kB / 0.4971 GB, free: 5.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.336, allocations: 1.033 MB / 0.4981 GB, free: 4.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.753e-05/0.3361, allocations: 37.7 kB / 0.4981 GB, free: 4.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009655/0.337, allocations: 1.187 MB / 0.4993 GB, free: 2.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000275/0.3373, allocations: 248.5 kB / 0.4995 GB, free: 2.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005144/0.3378, allocations: 306.7 kB / 0.4998 GB, free: 2.328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.338, allocations: 349.9 kB / 0.5002 GB, free: 1.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007558/0.3388, allocations: 382.5 kB / 0.5005 GB, free: 1.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.34, allocations: 0.8594 MB / 0.5014 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/0.342, allocations: 1.324 MB / 0.5027 GB, free: 14.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.3421, allocations: 11.98 kB / 0.5027 GB, free: 14.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003855/0.3459, allocations: 1.567 MB / 0.5042 GB, free: 13.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.3459, allocations: 12 kB / 0.5042 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.346, allocations: 18.66 kB / 0.5042 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003864/0.3463, allocations: 127.8 kB / 0.5044 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00302/0.3494, allocations: 0.5371 MB / 0.5049 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003259/0.3526, allocations: 2.734 MB / 0.5075 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009486/0.3536, allocations: 47.94 kB / 0.5076 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/0.3538, allocations: 184 kB / 0.5078 GB, free: 9.578 MB / 398.1 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.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 (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.001259/0.3551, allocations: 0.6092 MB / 0.5084 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/0.3554, allocations: 127.2 kB / 0.5085 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003858/0.3593, allocations: 1.509 MB / 0.51 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.3593, allocations: 4 kB / 0.51 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.3593, allocations: 2.656 kB / 0.51 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.3593, allocations: 7.984 kB / 0.51 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004591/0.3639, allocations: 2.143 MB / 0.5121 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.3639, allocations: 4 kB / 0.5121 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002271/0.3662, allocations: 319.4 kB / 0.5124 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002717/0.3664, allocations: 111 kB / 0.5125 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.567e-05/0.3665, allocations: 16 kB / 0.5125 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003072/0.3696, allocations: 2.696 MB / 0.5151 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.3696, allocations: 4 kB / 0.5151 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/0.3727, allocations: 1.237 MB / 0.5163 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.3729, allocations: 99.25 kB / 0.5164 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.3731, allocations: 19.95 kB / 0.5165 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005099/0.3736, allocations: 23.98 kB / 0.5165 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.3737, allocations: 58.94 kB / 0.5165 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.3737, allocations: 22.91 kB / 0.5166 GB, free: 412 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001176/0.3749, allocations: 0.7674 MB / 0.5173 GB, free: 15.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3749, allocations: 0 / 0.5173 GB, free: 15.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001861/0.3768, allocations: 431.7 kB / 0.5177 GB, free: 15.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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.0007779/0.3776, allocations: 381.9 kB / 0.5181 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002577/0.3801, allocations: 1.099 MB / 0.5192 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3801, allocations: 0 / 0.5192 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.3812, allocations: 0.4908 MB / 0.5196 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.3826, allocations: 295.1 kB / 0.5199 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006539/0.3892, allocations: 3.517 MB / 0.5233 GB, free: 9.461 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.3905, allocations: 1.014 MB / 0.5243 GB, free: 8.426 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001316/0.3918, allocations: 433.1 kB / 0.5247 GB, free: 8.121 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005726/0.3924, allocations: 180.3 kB / 0.5249 GB, free: 7.961 MB / 414.1 MB Notification: Performance of SimCode: time 9.31e-07/0.3924, allocations: 2.688 kB / 0.5249 GB, free: 7.961 MB / 414.1 MB Notification: Performance of Templates: time 0.04174/0.4341, allocations: 21.89 MB / 0.5463 GB, free: 2.852 MB / 430.1 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=480 -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.721732050180435] Failed to read output from testmodel.py, exit status != 0: 0.4434972256422043 0.457925895 0.175457425 Calling exit ...