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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0005133/0.0005133, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005365/0.00105, allocations: 0 / 0, free: 0 / 0 " [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.0006317/0.0006317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004647/0.001096, allocations: 0 / 0, free: 0 / 0 " [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.2178/0.2178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.04733/0.2651, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.007817/0.007817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.004831/0.01265, allocations: 0 / 0, free: 0 / 0 " [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: simulate(Chemical.Examples.WaterElectrolysis,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterElectrolysis",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(Chemical.Examples.WaterElectrolysis,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterElectrolysis",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 7.01e-07/7.01e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.482e-05, allocations: 0 / 0, free: 0 / 0 [/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.03115/0.03118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.03191/0.06309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.00237/0.06546, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.003969/0.06943, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.00511/0.07454, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.009368/0.08391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.005886/0.08979, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.0914, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.003356/0.09475, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.002152/0.0969, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0004062/0.09731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.004666/0.102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0009501/0.1029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001296/0.1042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.007231/0.1115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.000585/0.112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.226e-06/0.112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 3.111e-05/0.1121, allocations: 0 / 0, free: 0 / 0 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.00677/0.1188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0002309/0.1191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.1209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/0.1231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004025/0.1235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004223/0.1239, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.006138/0.1301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-05/0.1301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002952/0.1304, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005575/0.131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004845/0.1358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02427/0.1601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002013/0.1621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.1632, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.01238/0.1755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.942e-05/0.1756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=214): time 2.201e-05/0.1756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=250): time 0.04787/0.2235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.006457/0.23, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/0.2317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0008254/0.2325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.2336, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000861/0.2344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001848/0.2363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.903e-05/0.2363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.00179/0.2381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/0.24, allocations: 0 / 0, free: 0 / 0 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.007846/0.2479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-05/0.2479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=400) (initialization): time 0.008362/0.2563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/0.2563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006387/0.257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.01153/0.2685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007842/0.2763, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009721/0.286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/0.2884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/0.2895, allocations: 0 / 0, free: 0 / 0 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.002763/0.2923, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001245/0.2935, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/0.3076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.692e-05/0.3076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.3076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/0.3077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01788/0.3255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.708e-05/0.3256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004796/0.3304, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0004584/0.3308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.01049/0.3413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003759/0.3417, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007035/0.3487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004988/0.3537, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007597/0.3613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009216/0.3622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008905/0.3631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001112/0.3642, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003754/0.3646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001101/0.3657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0001311/0.3658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.003164/0.369, allocations: 0 / 0, free: 0 / 0 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.002267/0.3713, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.005261/0.3765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 8.675e-05/0.3766, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.003134/0.3798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/0.382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/0.4006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/0.4018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.001669/0.4035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002593/0.4061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 8.677e-05/0.4062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.02169/0.4279, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 899] [Calling sys.exit(0), Time elapsed: 1.3744975139852613]