Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.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.00105/0.00105, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009571/0.0009571, allocations: 173 kB / 23.02 MB, free: 1.547 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.9278/0.9278, allocations: 177.1 MB / 203.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1021/0.1021, allocations: 17.37 MB / 277.3 MB, free: 11.63 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 353.5 MB, free: 9.957 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.166e-05, allocations: 2.312 kB / 353.5 MB, free: 9.953 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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.0/Obsolete.mo:14337:7-14337: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.StandardLeadAcidPotential): time 0.04338/0.04341, allocations: 32.26 MB / 385.7 MB, free: 9.805 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1681/0.2115, allocations: 25.89 MB / 411.6 MB, free: 34.11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.2128, allocations: 33.53 kB / 411.6 MB, free: 34.11 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.2143, allocations: 0.5801 MB / 412.2 MB, free: 34.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003267/0.2175, allocations: 1.286 MB / 413.5 MB, free: 33.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009477/0.227, allocations: 4.077 MB / 417.6 MB, free: 33.15 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00446/0.2315, allocations: 2.269 MB / 419.9 MB, free: 32.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.233, allocations: 0.9675 MB / 420.8 MB, free: 32.44 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002421/0.2355, allocations: 1.49 MB / 422.3 MB, free: 32.36 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/0.2374, allocations: 0.9903 MB / 423.3 MB, free: 32.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007508/0.2382, allocations: 178.9 kB / 423.5 MB, free: 32.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006782/0.245, allocations: 2.303 MB / 425.8 MB, free: 32.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009769/0.2459, allocations: 499.7 kB / 426.3 MB, free: 32.1 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002145/0.2481, allocations: 0.7106 MB / 427 MB, free: 32.03 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.2595, allocations: 4.481 MB / 431.5 MB, free: 30.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.2595, allocations: 0 / 431.5 MB, free: 30.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.639e-06/0.2596, allocations: 2.656 kB / 431.5 MB, free: 30.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001066/0.2597, allocations: 0 / 431.5 MB, free: 30.47 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.004297/0.264, allocations: 2.601 MB / 434.1 MB, free: 28.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.264, allocations: 10.72 kB / 434.1 MB, free: 28.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001887/0.2659, allocations: 0.8177 MB / 434.9 MB, free: 28.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.2673, allocations: 1.041 MB / 435.9 MB, free: 27.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.2674, allocations: 216.9 kB / 436.1 MB, free: 27.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.2676, allocations: 142.2 kB / 436.3 MB, free: 27.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.2694, allocations: 1.669 MB / 437.9 MB, free: 26.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.2695, allocations: 5.875 kB / 438 MB, free: 26.67 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.2696, allocations: 65.03 kB / 438 MB, free: 26.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/0.2696, allocations: 37.06 kB / 438.1 MB, free: 26.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/0.2717, allocations: 1.944 MB / 440 MB, free: 25.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00589/0.2776, allocations: 6.082 MB / 446.1 MB, free: 19.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009804/0.2786, allocations: 0.7496 MB / 446.8 MB, free: 19.06 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003774/0.279, allocations: 313.9 kB / 447.1 MB, free: 18.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00515/0.2841, allocations: 4.111 MB / 451.2 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.2841, allocations: 45.83 kB / 451.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003089/0.2844, allocations: 91.14 kB / 451.4 MB, free: 14.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 3.296e-06/0.2844, allocations: 0 / 451.4 MB, free: 14.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.001056/0.2855, allocations: 0.6084 MB / 452 MB, free: 13.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.2855, allocations: 111.3 kB / 452.1 MB, free: 13.78 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007393/0.2863, allocations: 1.177 MB / 453.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.2863, allocations: 41.69 kB / 453.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.2866, allocations: 1.059 MB / 454.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.974e-05/0.2867, allocations: 197.3 kB / 454.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.287, allocations: 351.6 kB / 454.9 MB, free: 10.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.835e-05/0.287, allocations: 476.8 kB / 455.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.2872, allocations: 171.9 kB / 455.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005695/0.2878, allocations: 1.653 MB / 457.2 MB, free: 7.949 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.289, allocations: 2.013 MB / 459.2 MB, free: 5.434 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/0.289, allocations: 12 kB / 459.2 MB, free: 5.422 MB / 330.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.001572/0.2905, allocations: 1.5 MB / 460.7 MB, free: 4.168 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.2906, allocations: 20 kB / 460.7 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.2906, allocations: 39.98 kB / 460.8 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004062/0.291, allocations: 165.7 kB / 460.9 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/0.2917, allocations: 479.5 kB / 461.4 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.2936, allocations: 5.424 MB / 466.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007972/0.2944, allocations: 90.47 kB / 466.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.2946, allocations: 132.8 kB / 467.1 MB, free: 13.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 166 * 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 (197): * Single equations (assignments): 193 * 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.0003826/0.295, allocations: 287.5 kB / 467.3 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.2951, allocations: 146.3 kB / 467.5 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.2969, allocations: 1.386 MB / 468.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.2969, allocations: 4 kB / 468.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.2969, allocations: 2.656 kB / 468.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.297, allocations: 0 / 468.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.2985, allocations: 1.276 MB / 470.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.2986, allocations: 4 kB / 470.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.2987, allocations: 71.14 kB / 470.2 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004291/0.2992, allocations: 182.8 kB / 470.4 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.2992, allocations: 18.62 kB / 470.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002383/0.3016, allocations: 5.175 MB / 475.6 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3016, allocations: 8.734 kB / 475.6 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009492/0.3025, allocations: 0.9434 MB / 476.5 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.3027, allocations: 112.2 kB / 476.7 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.3028, allocations: 11.98 kB / 476.7 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.3031, allocations: 14.62 kB / 476.7 MB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.3031, allocations: 42.5 kB / 476.7 MB, free: 3.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.3032, allocations: 23.09 kB / 476.7 MB, free: 3.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006772/0.3038, allocations: 0.7355 MB / 477.5 MB, free: 2.766 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3038, allocations: 0 / 477.5 MB, free: 2.766 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002189/0.306, allocations: 0.8251 MB / 478.3 MB, free: 1.938 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (anode.temperature,cathode.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 (31): * Single equations (assignments): 27 * 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.001698/0.3077, allocations: 0.991 MB / 479.3 MB, free: 1.121 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.3093, allocations: 0.7407 MB / 480 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.3093, allocations: 6.656 kB / 480 MB, free: 0.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000453/0.3097, allocations: 476.8 kB / 480.5 MB, free: 8 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.3109, allocations: 223.1 kB / 480.7 MB, free: 15.81 MB / 362.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/0.3146, allocations: 2.177 MB / 482.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.3151, allocations: 243.2 kB / 483.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009102/0.3161, allocations: 380.8 kB / 483.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/0.3163, allocations: 206.7 kB / 483.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of SimCode: time 2.244e-06/0.3163, allocations: 0 / 483.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of Templates: time 0.03325/0.3496, allocations: 28.1 MB / 0.4998 GB, free: 1.891 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6113944817334414]