Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.WaterElectrolysis.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.0008726/0.0008726, allocations: 77.11 kB / 9.98 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.002199, allocations: 448 kB / 10.42 MB, free: 276 kB / 10.45 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.0007278/0.0007278, allocations: 161.2 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009699/0.001698, allocations: 475.5 kB / 11.8 MB, free: 2.371 MB / 13.93 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.9762/0.9762, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09526/1.071, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.09207/0.09207, allocations: 17.44 MB / 261.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0107/0.1028, allocations: 6.97 MB / 268.6 MB, free: 6.305 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterElectrolysis") translateModel(Chemical.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterElectrolysis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 3.938 kB / 269.9 MB, free: 5.012 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136e-05/1.316e-05, allocations: 6.312 kB / 269.9 MB, free: 5.004 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Boundaries.mo:1361:7-1361: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 2.0.1-master/Boundaries.mo:1361:7-1361: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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.Examples.WaterElectrolysis): time 0.16/0.16, allocations: 17.79 MB / 287.6 MB, free: 11.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02704/0.1871, allocations: 18.34 MB / 306 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003065/0.1901, allocations: 103.2 kB / 306.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003274/0.1934, allocations: 1.525 MB / 307.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004396/0.1978, allocations: 2.02 MB / 309.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006471/0.2043, allocations: 5.279 MB / 314.9 MB, free: 5.234 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005415/0.2097, allocations: 5.583 MB / 320.5 MB, free: 15.63 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.2109, allocations: 1.289 MB / 321.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002812/0.2137, allocations: 3.39 MB / 325.2 MB, free: 10.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.2161, allocations: 2.357 MB / 327.5 MB, free: 8.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009433/0.2171, allocations: 0.5195 MB / 328.1 MB, free: 7.961 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004183/0.2212, allocations: 2.067 MB / 330.1 MB, free: 5.891 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008117/0.222, allocations: 1.386 MB / 331.5 MB, free: 4.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001487/0.2235, allocations: 1.582 MB / 333.1 MB, free: 2.914 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005316/0.2288, allocations: 5.854 MB / 338.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-05/0.2289, allocations: 4 kB / 338.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.2289, allocations: 0 / 338.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.804e-05/0.2289, allocations: 0 / 338.9 MB, free: 13.04 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: 1520 * Number of variables: 1520 Notification: Performance of Generate backend data structure: time 0.005962/0.2349, allocations: 7.145 MB / 346.1 MB, free: 5.809 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.2349, allocations: 8.031 kB / 346.1 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/0.237, allocations: 1.79 MB / 347.9 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.2389, allocations: 1.784 MB / 349.7 MB, free: 2.156 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000317/0.2392, allocations: 0.6637 MB / 350.3 MB, free: 1.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003938/0.2396, allocations: 0.4924 MB / 350.8 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004613/0.2442, allocations: 5.295 MB / 356.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-05/0.2443, allocations: 8.172 kB / 356.1 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002243/0.2445, allocations: 208.1 kB / 356.3 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003832/0.2449, allocations: 0.6047 MB / 356.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004459/0.2494, allocations: 5.22 MB / 362.2 MB, free: 5.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01739/0.2668, allocations: 16.13 MB / 378.3 MB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.2683, allocations: 1.039 MB / 379.3 MB, free: 4.191 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008141/0.2691, allocations: 0.4986 MB / 379.8 MB, free: 3.691 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0095/0.2786, allocations: 7.234 MB / 387.1 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.2786, allocations: 52.56 kB / 387.1 MB, free: 12.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=214): time 2.936e-06/0.2786, allocations: 0 / 387.1 MB, free: 12.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=250): time 0.03627/0.3149, allocations: 11.84 MB / 399 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005528/0.3204, allocations: 3.952 MB / 402.9 MB, free: 12.37 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.3221, allocations: 1.762 MB / 404.7 MB, free: 10.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002811/0.3224, allocations: 65.7 kB / 404.7 MB, free: 10.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009101/0.3233, allocations: 2.245 MB / 407 MB, free: 8.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006274/0.3239, allocations: 0.8829 MB / 407.9 MB, free: 7.359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009216/0.3248, allocations: 0.6391 MB / 408.5 MB, free: 6.711 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.563e-05/0.3249, allocations: 301.1 kB / 408.8 MB, free: 6.414 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.3262, allocations: 0.7093 MB / 409.5 MB, free: 5.699 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.328, allocations: 1.675 MB / 411.2 MB, free: 3.586 MB / 394.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: electrone.state_out.u = 96485.33212331001 * electrone.definition.data.z * electrone.v_start (0.0 = 96485.33212331001 * electrone.definition.data.z * electrone.v_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006229/0.3342, allocations: 4.282 MB / 415.5 MB, free: 14.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/0.3342, allocations: 8 kB / 415.5 MB, free: 14.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=400) (initialization): time 0.006565/0.3408, allocations: 3.133 MB / 418.6 MB, free: 11.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.3408, allocations: 20.03 kB / 418.6 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002949/0.3411, allocations: 159.9 kB / 418.8 MB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006822/0.3479, allocations: 2.203 MB / 421 MB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004536/0.3525, allocations: 1.434 MB / 422.4 MB, free: 7.875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006759/0.3592, allocations: 6.26 MB / 428.7 MB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.361, allocations: 139.8 kB / 428.8 MB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003978/0.3614, allocations: 331.9 kB / 429.1 MB, free: 0.8711 MB / 410.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: electrone.state_out.u = 96485.33212331001 * electrone.definition.data.z * electrone.v_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 4 (reaction.processDefinition.data.phase,reaction.processDefinition.SelfClustering,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 (317): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,4,88.9%), (1,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,20), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001393/0.3627, allocations: 311.6 kB / 429.4 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007863/0.3635, allocations: 303.6 kB / 429.7 MB, free: 268 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.171/0.5346, allocations: 4.849 MB / 434.6 MB, free: 99.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/0.5346, allocations: 32.77 kB / 434.6 MB, free: 99.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.839e-05/0.5346, allocations: 5.328 kB / 434.6 MB, free: 99.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/0.5346, allocations: 10.36 kB / 434.6 MB, free: 99.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/0.5474, allocations: 7.478 MB / 442.1 MB, free: 98.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.5474, allocations: 7.906 kB / 442.1 MB, free: 98.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002978/0.5503, allocations: 0.9429 MB / 443.1 MB, free: 98.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004367/0.5508, allocations: 270.1 kB / 443.3 MB, free: 98.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007311/0.5581, allocations: 2.672 MB / 446 MB, free: 98.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002077/0.5583, allocations: 80.12 kB / 446.1 MB, free: 98.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005462/0.5638, allocations: 6.43 MB / 452.5 MB, free: 94.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003932/0.5677, allocations: 3.613 MB / 456.1 MB, free: 91.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006508/0.5742, allocations: 3.571 MB / 459.7 MB, free: 91.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004343/0.5746, allocations: 51.52 kB / 459.7 MB, free: 91.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008212/0.5755, allocations: 63.09 kB / 459.8 MB, free: 91.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004083/0.5759, allocations: 202.2 kB / 460 MB, free: 91.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002096/0.5761, allocations: 166.4 kB / 460.2 MB, free: 91.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000881/0.577, allocations: 1.004 MB / 461.2 MB, free: 91.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.577, allocations: 4 kB / 461.2 MB, free: 91.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002911/0.5799, allocations: 1.455 MB / 462.6 MB, free: 91.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 7 ($STATESET1.x,O2_gas.logn,H2_gas.logn,reaction.rr,anode.temperature,cathode.temperature,liquidWater.logm) * Number of discrete variables: 5 ($cse15.data.phase,$cse15.SelfClustering,$cse16.data.phase,$cse16.SelfClustering,reaction.processDefinition.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,4,88.9%), (1,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,22), (5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006806/0.5805, allocations: 0.5275 MB / 463.2 MB, free: 90.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004629/0.5852, allocations: 2.836 MB / 466 MB, free: 88.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.114e-05/0.5852, allocations: 48.5 kB / 466 MB, free: 88.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002267/0.5875, allocations: 1.9 MB / 467.9 MB, free: 86.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/0.5898, allocations: 4.529 MB / 472.5 MB, free: 82.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0206/0.6103, allocations: 9.284 MB / 481.8 MB, free: 73.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007454/0.6111, allocations: 1.122 MB / 482.9 MB, free: 71.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001704/0.6128, allocations: 0.7746 MB / 483.7 MB, free: 71.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001818/0.6146, allocations: 0.7087 MB / 484.4 MB, free: 70.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.523e-06/0.6146, allocations: 5.531 kB / 484.4 MB, free: 70.42 MB / 410.7 MB Notification: Performance of Templates: time 0.1047/0.7193, allocations: 102.8 MB / 0.5734 GB, free: 76 kB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Examples.WaterElectrolysis.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.WaterElectrolysis.pipe ; mkfifo Chemical_master_Chemical.Examples.WaterElectrolysis.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.WaterElectrolysis.pipe >> ../files/Chemical_master_Chemical.Examples.WaterElectrolysis.sim & ./Chemical_master_Chemical.Examples.WaterElectrolysis -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.047422911040485]