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.001301/0.001301, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001471/0.001471, allocations: 223.6 kB / 23.01 MB, free: 4.609 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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.1345/0.1345, allocations: 23.85 MB / 337 MB, free: 11.23 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 67.91 kB / 472.4 MB, free: 7.215 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3233, allocations: 59.86 MB / 0.5198 GB, free: 9.867 MB / 382.1 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.0409/0.3642, allocations: 29.54 MB / 0.5487 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03481/0.3991, allocations: 28.47 MB / 0.5765 GB, free: 88 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.4011, allocations: 31.75 kB / 0.5765 GB, free: 56 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002409/0.4035, allocations: 0.6788 MB / 0.5772 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005017/0.4085, allocations: 1.335 MB / 0.5785 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01329/0.4218, allocations: 4.352 MB / 0.5827 GB, free: 9.645 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00375/0.4255, allocations: 2.192 MB / 0.5848 GB, free: 7.449 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.4272, allocations: 0.9235 MB / 0.5858 GB, free: 6.488 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.4289, allocations: 1.044 MB / 0.5868 GB, free: 5.441 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/0.431, allocations: 1.152 MB / 0.5879 GB, free: 4.285 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006131/0.4316, allocations: 176 kB / 0.5881 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008854/0.4405, allocations: 2.707 MB / 0.5907 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009068/0.4414, allocations: 482.5 kB / 0.5912 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001827/0.4432, allocations: 0.9799 MB / 0.5921 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.4568, allocations: 5.179 MB / 0.5972 GB, free: 10.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4569, allocations: 0 / 0.5972 GB, free: 10.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4569, allocations: 3.938 kB / 0.5972 GB, free: 10.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001258/0.457, allocations: 0 / 0.5972 GB, free: 10.74 MB / 446.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.007231/0.4642, allocations: 2.52 MB / 0.5996 GB, free: 8.176 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.4643, allocations: 8.031 kB / 0.5997 GB, free: 8.168 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003143/0.4674, allocations: 0.5338 MB / 0.6002 GB, free: 7.633 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00289/0.4703, allocations: 1.179 MB / 0.6013 GB, free: 6.426 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002715/0.4706, allocations: 222.1 kB / 0.6015 GB, free: 6.184 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004651/0.471, allocations: 144 kB / 0.6017 GB, free: 6.043 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004439/0.4755, allocations: 2.031 MB / 0.6037 GB, free: 3.941 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.144e-05/0.4755, allocations: 7.938 kB / 0.6037 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000229/0.4758, allocations: 60 kB / 0.6037 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/0.4758, allocations: 36 kB / 0.6038 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005073/0.4809, allocations: 2.772 MB / 0.6065 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01295/0.4938, allocations: 6.607 MB / 0.6129 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/0.4959, allocations: 1.005 MB / 0.6139 GB, free: 9.223 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.4969, allocations: 0.513 MB / 0.6144 GB, free: 8.699 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01112/0.5081, allocations: 4.348 MB / 0.6186 GB, free: 4.324 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.5081, allocations: 43 kB / 0.6187 GB, free: 4.273 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004907/0.5086, allocations: 107 kB / 0.6188 GB, free: 4.168 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 3.186e-06/0.5086, allocations: 0 / 0.6188 GB, free: 4.168 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.00212/0.5107, allocations: 0.8552 MB / 0.6196 GB, free: 3.305 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/0.5108, allocations: 115.2 kB / 0.6197 GB, free: 3.168 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.5127, allocations: 1.237 MB / 0.6209 GB, free: 1.922 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-05/0.5127, allocations: 37.7 kB / 0.621 GB, free: 1.879 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007998/0.5135, allocations: 1.001 MB / 0.622 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.5137, allocations: 198.5 kB / 0.6221 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004299/0.5142, allocations: 339.3 kB / 0.6225 GB, free: 340 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5143, allocations: 309.1 kB / 0.6228 GB, free: 28 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006033/0.5149, allocations: 311.8 kB / 0.6231 GB, free: 15.72 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.5164, allocations: 1.32 MB / 0.6243 GB, free: 13.89 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/0.5188, allocations: 1.813 MB / 0.6261 GB, free: 11.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-05/0.5188, allocations: 8 kB / 0.6261 GB, free: 11.56 MB / 478.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003309/0.5222, allocations: 1.703 MB / 0.6278 GB, free: 9.848 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/0.5222, allocations: 20 kB / 0.6278 GB, free: 9.828 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.068e-05/0.5223, allocations: 40 kB / 0.6278 GB, free: 9.789 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007191/0.523, allocations: 157.6 kB / 0.628 GB, free: 9.629 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.5244, allocations: 479.5 kB / 0.6285 GB, free: 9.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003482/0.5279, allocations: 3.885 MB / 0.6322 GB, free: 4.988 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.5292, allocations: 92.03 kB / 0.6323 GB, free: 4.898 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003029/0.5295, allocations: 135.9 kB / 0.6325 GB, free: 4.766 MB / 478.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.0007908/0.5303, allocations: 375.8 kB / 0.6328 GB, free: 4.391 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003812/0.5307, allocations: 143 kB / 0.633 GB, free: 4.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002866/0.5335, allocations: 1.384 MB / 0.6343 GB, free: 2.781 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.5335, allocations: 4 kB / 0.6343 GB, free: 2.777 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5335, allocations: 4 kB / 0.6343 GB, free: 2.773 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5335, allocations: 0 / 0.6343 GB, free: 2.773 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/0.5367, allocations: 1.49 MB / 0.6358 GB, free: 1.191 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/0.5367, allocations: 4 kB / 0.6358 GB, free: 1.188 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.537, allocations: 80.17 kB / 0.6359 GB, free: 1.109 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007972/0.5378, allocations: 182.9 kB / 0.636 GB, free: 0.918 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/0.5378, allocations: 12 kB / 0.636 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003237/0.5411, allocations: 3.748 MB / 0.6397 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.5411, allocations: 15.94 kB / 0.6397 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.5427, allocations: 0.989 MB / 0.6407 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003826/0.5431, allocations: 127.1 kB / 0.6408 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003589/0.5435, allocations: 15.94 kB / 0.6408 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005806/0.544, allocations: 12 kB / 0.6408 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.5441, allocations: 47.89 kB / 0.6409 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.5442, allocations: 20 kB / 0.6409 GB, free: 11.58 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001682/0.5459, allocations: 0.9671 MB / 0.6418 GB, free: 10.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5459, allocations: 3.938 kB / 0.6418 GB, free: 10.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003113/0.549, allocations: 0.8603 MB / 0.6427 GB, free: 9.75 MB / 494.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.002517/0.5515, allocations: 1.059 MB / 0.6437 GB, free: 8.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002338/0.5538, allocations: 0.8675 MB / 0.6446 GB, free: 7.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.5538, allocations: 4.125 kB / 0.6446 GB, free: 7.816 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006657/0.5545, allocations: 401 kB / 0.645 GB, free: 7.398 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.5562, allocations: 241.1 kB / 0.6452 GB, free: 7.164 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004633/0.5609, allocations: 2.371 MB / 0.6475 GB, free: 4.719 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/0.562, allocations: 1.181 MB / 0.6486 GB, free: 3.504 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007215/0.5627, allocations: 308.5 kB / 0.6489 GB, free: 3.211 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5627, allocations: 4 kB / 0.6489 GB, free: 3.207 MB / 494.1 MB Notification: Performance of Templates: time 0.06435/0.627, allocations: 49.22 MB / 0.697 GB, free: 2.043 MB / 0.5294 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.691500771092251] Failed to read output from testmodel.py, exit status != 0: 0.636967723025009 0.653794285 0.193292829 Calling exit ...