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.001002/0.001002, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001049/0.002051, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007232/0.0007232, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008696/0.001593, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9957/0.9957, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09327/1.089, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.1114/0.1114, allocations: 17.45 MB / 261.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0115/0.1229, allocations: 6.953 MB / 268.4 MB, free: 6.398 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.383e-06/1.383e-06, allocations: 0 / 269.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.814e-05, allocations: 9.688 kB / 269.6 MB, free: 5.121 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.1505/0.1505, allocations: 17.78 MB / 287.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03138/0.1819, allocations: 18.35 MB / 305.8 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004303/0.1862, allocations: 107.2 kB / 305.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003819/0.19, allocations: 1.513 MB / 307.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005691/0.1957, allocations: 2.028 MB / 309.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007229/0.2029, allocations: 5.274 MB / 314.7 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007465/0.2104, allocations: 5.59 MB / 320.3 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.212, allocations: 1.292 MB / 321.6 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004466/0.2165, allocations: 3.38 MB / 325 MB, free: 11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003226/0.2197, allocations: 2.354 MB / 327.3 MB, free: 8.641 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009932/0.2207, allocations: 0.5273 MB / 327.8 MB, free: 8.113 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00416/0.2248, allocations: 2.071 MB / 329.9 MB, free: 6.039 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.2259, allocations: 1.386 MB / 331.3 MB, free: 4.648 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.2278, allocations: 1.578 MB / 332.9 MB, free: 3.066 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007702/0.2355, allocations: 5.878 MB / 338.8 MB, free: 13.17 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-05/0.2355, allocations: 4 kB / 338.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2355, allocations: 4 kB / 338.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000209/0.2357, allocations: 0 / 338.8 MB, free: 13.16 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.008079/0.2438, allocations: 7.141 MB / 345.9 MB, free: 5.938 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.2439, allocations: 8.031 kB / 345.9 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/0.2458, allocations: 1.782 MB / 347.7 MB, free: 4.148 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.2482, allocations: 1.792 MB / 349.5 MB, free: 2.285 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003229/0.2486, allocations: 0.6559 MB / 350.1 MB, free: 1.566 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003949/0.249, allocations: 0.4963 MB / 350.6 MB, free: 1.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004838/0.2538, allocations: 5.302 MB / 355.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-05/0.2539, allocations: 4.125 kB / 355.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002145/0.2541, allocations: 208.1 kB / 356.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004077/0.2545, allocations: 0.6281 MB / 356.8 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004927/0.2594, allocations: 5.222 MB / 362 MB, free: 5.645 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02097/0.2804, allocations: 16.14 MB / 378.1 MB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.2819, allocations: 1.039 MB / 379.2 MB, free: 4.293 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008403/0.2828, allocations: 0.4947 MB / 379.7 MB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009794/0.2926, allocations: 7.234 MB / 386.9 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.2926, allocations: 56.56 kB / 387 MB, free: 12.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=214): time 3.166e-06/0.2926, allocations: 0 / 387 MB, free: 12.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=273): time 0.04014/0.3328, allocations: 12.31 MB / 399.3 MB, free: 104 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005385/0.3381, allocations: 3.935 MB / 403.2 MB, free: 11.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.3395, allocations: 1.766 MB / 405 MB, free: 10.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005426/0.3401, allocations: 65.7 kB / 405 MB, free: 10.08 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009143/0.341, allocations: 2.253 MB / 407.3 MB, free: 7.801 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007451/0.3417, allocations: 0.9565 MB / 408.2 MB, free: 6.836 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001112/0.3428, allocations: 0.6866 MB / 408.9 MB, free: 6.141 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.231e-05/0.3429, allocations: 309.1 kB / 409.2 MB, free: 5.836 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.3448, allocations: 0.9207 MB / 410.2 MB, free: 4.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002148/0.347, allocations: 1.899 MB / 412.1 MB, free: 2.574 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.007522/0.3545, allocations: 5.142 MB / 417.2 MB, free: 13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.378e-05/0.3545, allocations: 12 kB / 417.2 MB, free: 12.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.007445/0.362, allocations: 3.594 MB / 420.8 MB, free: 9.371 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.362, allocations: 22.41 kB / 420.8 MB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002999/0.3623, allocations: 159.9 kB / 421 MB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006862/0.3692, allocations: 2.205 MB / 423.2 MB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005555/0.3747, allocations: 1.558 MB / 424.7 MB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1497/0.5244, allocations: 6.23 MB / 431 MB, free: 96.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/0.5272, allocations: 141.3 kB / 431.1 MB, free: 96.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000625/0.5279, allocations: 355.5 kB / 431.5 MB, free: 96.68 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 (340): * Single equations (assignments): 335 * 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,77.8%), (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.001843/0.5297, allocations: 321.5 kB / 431.8 MB, free: 96.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/0.5308, allocations: 313.6 kB / 432.1 MB, free: 96.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/0.541, allocations: 5.433 MB / 437.5 MB, free: 96.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.422e-05/0.5411, allocations: 31.89 kB / 437.5 MB, free: 96.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.5411, allocations: 4.75 kB / 437.5 MB, free: 96.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.5411, allocations: 15.56 kB / 437.6 MB, free: 96.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/0.5538, allocations: 7.724 MB / 445.3 MB, free: 95.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/0.5538, allocations: 6.594 kB / 445.3 MB, free: 95.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003196/0.557, allocations: 1.018 MB / 446.3 MB, free: 95.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004815/0.5575, allocations: 277.5 kB / 446.6 MB, free: 95.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007044/0.5645, allocations: 2.553 MB / 449.1 MB, free: 95.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003448/0.5649, allocations: 89.41 kB / 449.2 MB, free: 95.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005442/0.5703, allocations: 6.426 MB / 455.6 MB, free: 90.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003933/0.5743, allocations: 3.598 MB / 459.2 MB, free: 88.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00643/0.5807, allocations: 3.711 MB / 463 MB, free: 87.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005243/0.5812, allocations: 52.5 kB / 463 MB, free: 87.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008244/0.582, allocations: 70.83 kB / 463.1 MB, free: 87.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004484/0.5825, allocations: 218.4 kB / 463.3 MB, free: 87.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002338/0.5827, allocations: 175.3 kB / 463.5 MB, free: 87.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008317/0.5836, allocations: 0.9709 MB / 464.4 MB, free: 87.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5836, allocations: 0 / 464.4 MB, free: 87.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00354/0.5871, allocations: 1.533 MB / 466 MB, free: 87.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (191): * Single equations (assignments): 184 * 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.0008337/0.5879, allocations: 0.5408 MB / 466.5 MB, free: 86.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005183/0.5931, allocations: 3.093 MB / 469.6 MB, free: 84.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001002/0.5932, allocations: 58.45 kB / 469.7 MB, free: 84.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002723/0.5959, allocations: 1.662 MB / 471.3 MB, free: 82.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.5983, allocations: 0.9552 MB / 472.3 MB, free: 82.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02897/0.6272, allocations: 9.458 MB / 481.7 MB, free: 72.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/0.6284, allocations: 1.138 MB / 482.9 MB, free: 71.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002942/0.6313, allocations: 0.8141 MB / 483.7 MB, free: 70.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002738/0.634, allocations: 0.7215 MB / 484.4 MB, free: 70.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.634, allocations: 0 / 484.4 MB, free: 70.07 MB / 410.7 MB Notification: Performance of Templates: time 0.1346/0.7687, allocations: 112.8 MB / 0.5832 GB, free: 5.699 MB / 458.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.484748698771]