Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.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.0008281/0.0008281, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.000798/0.000798, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8669/0.8669, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.08275/0.08275, allocations: 17.45 MB / 277.4 MB, free: 11.75 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.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 412.9 MB, free: 15.72 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.549e-05, allocations: 2.281 kB / 412.9 MB, free: 15.72 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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/Obsolete.mo:14335:7-14335: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.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction): time 0.02647/0.0265, allocations: 30.09 MB / 443 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1806/0.2071, allocations: 21.97 MB / 464.9 MB, free: 50.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008805/0.208, allocations: 34.5 kB / 465 MB, free: 50.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008112/0.2088, allocations: 0.5655 MB / 465.5 MB, free: 50.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002242/0.2111, allocations: 1.907 MB / 467.4 MB, free: 49.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004634/0.2157, allocations: 3.58 MB / 471 MB, free: 47.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001302/0.217, allocations: 2.8 MB / 473.8 MB, free: 45.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000791/0.2178, allocations: 1.413 MB / 475.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008391/0.2186, allocations: 1.81 MB / 477 MB, free: 44.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007735/0.2194, allocations: 1.13 MB / 478.2 MB, free: 44.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.2196, allocations: 263.2 kB / 478.4 MB, free: 44.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003576/0.2232, allocations: 2.59 MB / 481 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.2234, allocations: 0.6152 MB / 481.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004564/0.2239, allocations: 0.926 MB / 482.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004506/0.2284, allocations: 5.999 MB / 488.6 MB, free: 40.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2284, allocations: 0 / 488.6 MB, free: 40.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2284, allocations: 0 / 488.6 MB, free: 40.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.141e-05/0.2284, allocations: 0 / 488.6 MB, free: 40.12 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 548 * Number of variables: 548 Notification: Performance of Generate backend data structure: time 0.002869/0.2313, allocations: 2.938 MB / 491.5 MB, free: 38.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2313, allocations: 12.28 kB / 491.5 MB, free: 38.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.2323, allocations: 0.5146 MB / 492 MB, free: 38.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.2336, allocations: 1.22 MB / 493.2 MB, free: 37.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.2338, allocations: 270.6 kB / 493.5 MB, free: 37.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/0.2341, allocations: 218.9 kB / 493.7 MB, free: 37.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002939/0.237, allocations: 2.735 MB / 496.5 MB, free: 36.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/0.237, allocations: 5.312 kB / 496.5 MB, free: 36.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.2372, allocations: 92.23 kB / 496.6 MB, free: 36.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.2372, allocations: 55.84 kB / 496.6 MB, free: 36.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00342/0.2406, allocations: 3.159 MB / 499.8 MB, free: 35.09 MB / 410.7 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.008106/0.2487, allocations: 7.749 MB / 0.4956 GB, free: 30.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.2503, allocations: 1.449 MB / 0.497 GB, free: 29.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008306/0.2511, allocations: 0.8287 MB / 0.4978 GB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005224/0.2564, allocations: 4.34 MB / 0.5021 GB, free: 27.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.2564, allocations: 46.86 kB / 0.5021 GB, free: 27.48 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004461/0.2568, allocations: 233.8 kB / 0.5024 GB, free: 27.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=113): time 3.066e-06/0.2568, allocations: 2.656 kB / 0.5024 GB, free: 27.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=161): time 0.01632/0.2732, allocations: 9.312 MB / 0.5114 GB, free: 19.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.2732, allocations: 120.1 kB / 0.5116 GB, free: 19.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008755/0.2741, allocations: 1.312 MB / 0.5128 GB, free: 18.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-05/0.2742, allocations: 49.7 kB / 0.5129 GB, free: 18.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.2744, allocations: 1.092 MB / 0.514 GB, free: 17.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.2746, allocations: 0.5771 MB / 0.5145 GB, free: 16.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003501/0.275, allocations: 471.2 kB / 0.515 GB, free: 16.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.982e-05/0.275, allocations: 305.1 kB / 0.5153 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007798/0.2758, allocations: 0.8481 MB / 0.5161 GB, free: 14.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.2768, allocations: 1.72 MB / 0.5178 GB, free: 12.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/0.2788, allocations: 2.696 MB / 0.5204 GB, free: 9.727 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.2788, allocations: 15.94 kB / 0.5204 GB, free: 9.711 MB / 410.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004345/0.2832, allocations: 3.475 MB / 0.5238 GB, free: 6.242 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.2832, allocations: 18.62 kB / 0.5238 GB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/0.2832, allocations: 28 kB / 0.5239 GB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002442/0.2857, allocations: 1.156 MB / 0.525 GB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008224/0.2865, allocations: 0.5096 MB / 0.5255 GB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005246/0.2918, allocations: 7.195 MB / 0.5325 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008579/0.2926, allocations: 106.5 kB / 0.5326 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/0.2928, allocations: 140 kB / 0.5327 GB, free: 12.81 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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 (270): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,20), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006709/0.2934, allocations: 448.5 kB / 0.5332 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.2936, allocations: 155 kB / 0.5333 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004312/0.298, allocations: 2.835 MB / 0.5361 GB, free: 9.441 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.298, allocations: 16 kB / 0.5361 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.298, allocations: 4 kB / 0.5361 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.298, allocations: 7.969 kB / 0.5361 GB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006075/0.3041, allocations: 4.353 MB / 0.5404 GB, free: 4.992 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3041, allocations: 4 kB / 0.5404 GB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005369/0.3046, allocations: 258.3 kB / 0.5406 GB, free: 4.738 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002249/0.3068, allocations: 1.031 MB / 0.5416 GB, free: 3.715 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.219e-05/0.3069, allocations: 62.92 kB / 0.5417 GB, free: 3.656 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004544/0.3115, allocations: 6.486 MB / 0.548 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3115, allocations: 7.969 kB / 0.548 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00457/0.316, allocations: 3.649 MB / 0.5516 GB, free: 9.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.3162, allocations: 138.9 kB / 0.5517 GB, free: 9.023 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.3164, allocations: 36 kB / 0.5518 GB, free: 8.988 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/0.3168, allocations: 39.98 kB / 0.5518 GB, free: 8.949 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.317, allocations: 153 kB / 0.5519 GB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-05/0.3171, allocations: 74.64 kB / 0.552 GB, free: 8.727 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006479/0.3178, allocations: 0.8266 MB / 0.5528 GB, free: 7.895 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3178, allocations: 0 / 0.5528 GB, free: 7.895 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002444/0.3202, allocations: 1.111 MB / 0.5539 GB, free: 6.781 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.logn,AcAc.logn,CO2.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 (133): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,21), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001337/0.3216, allocations: 1.185 MB / 0.5551 GB, free: 5.656 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002913/0.3245, allocations: 2.584 MB / 0.5576 GB, free: 3.047 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3245, allocations: 288 / 0.5576 GB, free: 3.047 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.3258, allocations: 1.316 MB / 0.5589 GB, free: 1.695 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008614/0.3266, allocations: 275.7 kB / 0.5591 GB, free: 1.457 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003942/0.3306, allocations: 3.596 MB / 0.5626 GB, free: 13.87 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.3311, allocations: 0.8213 MB / 0.5634 GB, free: 13.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004162/0.3315, allocations: 293.8 kB / 0.5637 GB, free: 12.75 MB / 458.7 MB Notification: Performance of SimCode: time 7.82e-07/0.3315, allocations: 0 / 0.5637 GB, free: 12.75 MB / 458.7 MB Notification: Performance of Templates: time 0.184/0.5155, allocations: 73.44 MB / 0.6354 GB, free: 132.3 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.654354657977819] Failed to read output from testmodel.py, exit status != 0: 0.5216459073126316 0.529525784 0.298632821 Calling exit ...