Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.002055/0.002055, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002567/0.002567, allocations: 163.8 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.444/1.444, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.1221/0.1221, allocations: 17.45 MB / 276.6 MB, free: 15.22 MB / 270.1 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.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 412.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.856e-05, allocations: 6.219 kB / 412.1 MB, free: 4.273 MB / 334.1 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.StandardLeadAcidPotential): time 0.0378/0.03783, allocations: 28.96 MB / 441.1 MB, free: 7.445 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2162/0.254, allocations: 24.84 MB / 465.9 MB, free: 26.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.2557, allocations: 33.19 kB / 465.9 MB, free: 26.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.2576, allocations: 0.6185 MB / 466.6 MB, free: 25.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004065/0.2617, allocations: 1.321 MB / 467.9 MB, free: 24.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01207/0.2738, allocations: 4.483 MB / 472.4 MB, free: 22.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003317/0.2771, allocations: 2.27 MB / 474.6 MB, free: 21.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.2784, allocations: 0.926 MB / 475.6 MB, free: 20.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.2801, allocations: 1.426 MB / 477 MB, free: 20 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.2813, allocations: 0.9307 MB / 477.9 MB, free: 19.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003085/0.2817, allocations: 176.7 kB / 478.1 MB, free: 19.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009005/0.2907, allocations: 2.561 MB / 480.6 MB, free: 18.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006009/0.2913, allocations: 488.7 kB / 481.1 MB, free: 18.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.2924, allocations: 0.7022 MB / 481.8 MB, free: 18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01216/0.3046, allocations: 5.459 MB / 487.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.3046, allocations: 0 / 487.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3046, allocations: 0 / 487.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001142/0.3047, allocations: 0 / 487.3 MB, free: 13.56 MB / 366.1 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.004942/0.3096, allocations: 2.492 MB / 489.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3097, allocations: 8.031 kB / 489.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/0.3119, allocations: 0.5324 MB / 490.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.3137, allocations: 1.179 MB / 491.5 MB, free: 9.285 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.3139, allocations: 218.3 kB / 491.7 MB, free: 9.047 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/0.3141, allocations: 144.4 kB / 491.9 MB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/0.3169, allocations: 2.036 MB / 493.9 MB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.3169, allocations: 4 kB / 493.9 MB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.3171, allocations: 62.69 kB / 494 MB, free: 6.738 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.3171, allocations: 38.77 kB / 494 MB, free: 6.703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003341/0.3204, allocations: 2.737 MB / 496.7 MB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009706/0.3301, allocations: 5.799 MB / 0.4907 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.3322, allocations: 0.9916 MB / 0.4917 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.3332, allocations: 0.5195 MB / 0.4922 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.3437, allocations: 4.161 MB / 0.4963 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.3437, allocations: 43 kB / 0.4963 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004371/0.3441, allocations: 96.19 kB / 0.4964 GB, free: 8.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 3.657e-06/0.3441, allocations: 0 / 0.4964 GB, free: 8.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.002057/0.3462, allocations: 0.8376 MB / 0.4972 GB, free: 7.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.709e-05/0.3463, allocations: 121.9 kB / 0.4974 GB, free: 7.215 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.3478, allocations: 1.159 MB / 0.4985 GB, free: 6.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.103e-05/0.3479, allocations: 33.64 kB / 0.4985 GB, free: 6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008129/0.3487, allocations: 0.9971 MB / 0.4995 GB, free: 4.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.3489, allocations: 206.4 kB / 0.4997 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000461/0.3493, allocations: 335.3 kB / 0.5 GB, free: 4.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3495, allocations: 305.1 kB / 0.5003 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005918/0.3501, allocations: 314.5 kB / 0.5006 GB, free: 3.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.3515, allocations: 1.32 MB / 0.5019 GB, free: 2.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002365/0.3539, allocations: 1.808 MB / 0.5037 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.243e-05/0.3539, allocations: 12 kB / 0.5037 GB, free: 15.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002827/0.3567, allocations: 1.678 MB / 0.5053 GB, free: 14.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.077e-05/0.3568, allocations: 24 kB / 0.5053 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.662e-05/0.3568, allocations: 39.59 kB / 0.5054 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006602/0.3575, allocations: 168 kB / 0.5055 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.3588, allocations: 479.2 kB / 0.506 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003293/0.3621, allocations: 3.838 MB / 0.5097 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009691/0.3631, allocations: 86.52 kB / 0.5098 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.3633, allocations: 129.5 kB / 0.5099 GB, free: 9.082 MB / 398.1 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.0006237/0.3639, allocations: 385.4 kB / 0.5103 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/0.3642, allocations: 135 kB / 0.5104 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/0.3667, allocations: 1.37 MB / 0.5118 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3667, allocations: 4 kB / 0.5118 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3667, allocations: 6.625 kB / 0.5118 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3667, allocations: 0 / 0.5118 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/0.3691, allocations: 1.296 MB / 0.513 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.3691, allocations: 4 kB / 0.5131 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.3695, allocations: 67.89 kB / 0.5131 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007254/0.3702, allocations: 185.7 kB / 0.5133 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.3702, allocations: 12 kB / 0.5133 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003044/0.3733, allocations: 3.687 MB / 0.5169 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.3733, allocations: 10.62 kB / 0.5169 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.3747, allocations: 0.9589 MB / 0.5179 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.3749, allocations: 95.2 kB / 0.5179 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.3751, allocations: 26.55 kB / 0.518 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/0.3755, allocations: 11.98 kB / 0.518 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-05/0.3756, allocations: 42.73 kB / 0.518 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/0.3756, allocations: 23.98 kB / 0.518 GB, free: 412 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001169/0.3768, allocations: 0.8449 MB / 0.5189 GB, free: 15.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3768, allocations: 0 / 0.5189 GB, free: 15.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00246/0.3793, allocations: 0.8796 MB / 0.5197 GB, free: 14.68 MB / 414.1 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.002381/0.3817, allocations: 1.082 MB / 0.5208 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001804/0.3835, allocations: 0.8827 MB / 0.5216 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/0.3835, allocations: 4 kB / 0.5216 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000579/0.384, allocations: 414.5 kB / 0.522 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.3852, allocations: 189.9 kB / 0.5222 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.3889, allocations: 2.223 MB / 0.5244 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007245/0.3897, allocations: 0.6097 MB / 0.525 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001107/0.3908, allocations: 379.4 kB / 0.5254 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/0.3912, allocations: 200.1 kB / 0.5255 GB, free: 8.895 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3912, allocations: 0 / 0.5255 GB, free: 8.895 MB / 414.1 MB Notification: Performance of Templates: time 0.04302/0.4342, allocations: 25.01 MB / 0.55 GB, free: 0.4961 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.69953528791666] Failed to read output from testmodel.py, exit status != 0: 0.44344642385840416 0.45825711700000005 0.150443178 Calling exit ...