Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.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.000982/0.000982, allocations: 77.09 kB / 20.65 MB, free: 3.852 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.000982/0.000982, allocations: 165 kB / 24.05 MB, free: 464 kB / 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.9525/0.9525, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.09526/0.09526, allocations: 17.47 MB / 278.5 MB, free: 11.39 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.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 354.8 MB, free: 9.555 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.969e-05, allocations: 2.312 kB / 354.8 MB, free: 9.551 MB / 282.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.CheckSubstancesData.StandardElectrochemicalCell2): time 0.0251/0.02512, allocations: 30.4 MB / 385.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.03638, allocations: 13.14 MB / 398.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007479/0.03712, allocations: 23.81 kB / 398.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007333/0.03786, allocations: 365 kB / 398.7 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.03936, allocations: 0.7948 MB / 399.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003799/0.04316, allocations: 2.135 MB / 401.6 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001394/0.04455, allocations: 1.695 MB / 403.3 MB, free: 9.055 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006646/0.04521, allocations: 0.7706 MB / 404.1 MB, free: 8.258 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007949/0.04601, allocations: 1.092 MB / 405.2 MB, free: 7.164 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007207/0.04673, allocations: 0.7093 MB / 405.9 MB, free: 6.453 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.04688, allocations: 140 kB / 406 MB, free: 6.316 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.04878, allocations: 1.185 MB / 407.2 MB, free: 5.129 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.04901, allocations: 378.8 kB / 407.6 MB, free: 4.758 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003854/0.0494, allocations: 0.534 MB / 408.1 MB, free: 4.223 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002578/0.05198, allocations: 2.607 MB / 410.7 MB, free: 1.605 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.05198, allocations: 0 / 410.7 MB, free: 1.605 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.05198, allocations: 4 kB / 410.7 MB, free: 1.602 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.052, allocations: 4 kB / 410.8 MB, free: 1.598 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: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.1379/0.1899, allocations: 1.911 MB / 412.7 MB, free: 45.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.19, allocations: 10.28 kB / 412.7 MB, free: 45.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.1914, allocations: 0.6118 MB / 413.3 MB, free: 45.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.1924, allocations: 0.7698 MB / 414.1 MB, free: 44.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.1925, allocations: 197.3 kB / 414.2 MB, free: 44.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.1927, allocations: 120.2 kB / 414.4 MB, free: 44.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.194, allocations: 1.159 MB / 415.5 MB, free: 44.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.1941, allocations: 1.969 kB / 415.5 MB, free: 44.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.1942, allocations: 57.88 kB / 415.6 MB, free: 44.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.1942, allocations: 28.88 kB / 415.6 MB, free: 44.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.1958, allocations: 1.125 MB / 416.7 MB, free: 44.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004671/0.2004, allocations: 4.969 MB / 421.7 MB, free: 42.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006726/0.2011, allocations: 0.5083 MB / 422.2 MB, free: 41.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.2013, allocations: 183.4 kB / 422.4 MB, free: 41.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003243/0.2046, allocations: 2.609 MB / 425 MB, free: 41.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.2046, allocations: 48.67 kB / 425 MB, free: 41.21 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001355/0.2047, allocations: 72.08 kB / 425.1 MB, free: 41.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/0.2047, allocations: 0 / 425.1 MB, free: 41.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006647/0.2054, allocations: 426.8 kB / 425.5 MB, free: 41.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.2054, allocations: 106.8 kB / 425.6 MB, free: 40.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/0.206, allocations: 0.9819 MB / 426.6 MB, free: 40.65 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.206, allocations: 35.7 kB / 426.7 MB, free: 40.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.2063, allocations: 0.8707 MB / 427.5 MB, free: 40.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.153e-05/0.2064, allocations: 143.5 kB / 427.7 MB, free: 40.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.2066, allocations: 285.7 kB / 427.9 MB, free: 39.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2067, allocations: 0.6001 MB / 428.5 MB, free: 39.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.2069, allocations: 110.1 kB / 428.7 MB, free: 39.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.2073, allocations: 1.181 MB / 429.8 MB, free: 38.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007522/0.208, allocations: 1.434 MB / 431.3 MB, free: 36.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.208, allocations: 6.75 kB / 431.3 MB, free: 36.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001065/0.2091, allocations: 1.086 MB / 432.4 MB, free: 36.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.2091, allocations: 13.97 kB / 432.4 MB, free: 36.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.2091, allocations: 27.56 kB / 432.4 MB, free: 36.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003087/0.2094, allocations: 148 kB / 432.5 MB, free: 36.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005346/0.21, allocations: 372 kB / 432.9 MB, free: 36.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.2113, allocations: 5.347 MB / 438.3 MB, free: 31.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004153/0.2117, allocations: 70.77 kB / 438.3 MB, free: 31.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/0.2118, allocations: 85.28 kB / 438.4 MB, free: 31.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * 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 (155): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001888/0.212, allocations: 254 kB / 438.7 MB, free: 31.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.2121, allocations: 112.4 kB / 438.8 MB, free: 30.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009628/0.2131, allocations: 0.8113 MB / 439.6 MB, free: 30.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2131, allocations: 2.406 kB / 439.6 MB, free: 30.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.2131, allocations: 2.719 kB / 439.6 MB, free: 30.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2131, allocations: 4.688 kB / 439.6 MB, free: 30.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009488/0.214, allocations: 1.082 MB / 440.7 MB, free: 30.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.214, allocations: 2.094 kB / 440.7 MB, free: 30.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.2142, allocations: 58.64 kB / 440.7 MB, free: 30.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003756/0.2145, allocations: 175.1 kB / 440.9 MB, free: 30.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.2146, allocations: 19.91 kB / 440.9 MB, free: 30.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.2157, allocations: 5.108 MB / 446 MB, free: 24.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2157, allocations: 5.75 kB / 446 MB, free: 24.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/0.2162, allocations: 0.8605 MB / 446.9 MB, free: 24.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.2162, allocations: 81.36 kB / 447 MB, free: 24.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.438e-05/0.2163, allocations: 7.812 kB / 447 MB, free: 24.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.2165, allocations: 11.44 kB / 447 MB, free: 24.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.2165, allocations: 34.08 kB / 447 MB, free: 24.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.2165, allocations: 21.36 kB / 447 MB, free: 24.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000335/0.2169, allocations: 0.5627 MB / 447.6 MB, free: 23.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2169, allocations: 2.5 kB / 447.6 MB, free: 23.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001023/0.2179, allocations: 0.533 MB / 448.1 MB, free: 23.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (cathode.temperature,anode.temperature) * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005573/0.2185, allocations: 0.5704 MB / 448.7 MB, free: 23.53 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006783/0.2191, allocations: 0.5735 MB / 449.3 MB, free: 23.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2191, allocations: 0 / 449.3 MB, free: 23.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.2194, allocations: 458 kB / 449.7 MB, free: 22.6 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005802/0.22, allocations: 177.9 kB / 449.9 MB, free: 22.45 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.2217, allocations: 1.728 MB / 451.6 MB, free: 20.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.185e-05/0.2218, allocations: 193.3 kB / 451.8 MB, free: 20.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004131/0.2222, allocations: 244.2 kB / 452.1 MB, free: 20.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.2225, allocations: 296.9 kB / 452.4 MB, free: 20.07 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2225, allocations: 0 / 452.4 MB, free: 20.07 MB / 330.7 MB Notification: Performance of Templates: time 0.01715/0.2396, allocations: 18.37 MB / 470.7 MB, free: 3.012 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4700286062434316]