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.001934/0.001934, allocations: 110 kB / 16.46 MB, free: 6.453 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.002425/0.002425, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.54/1.54, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.1369/0.1369, allocations: 23.85 MB / 332.7 MB, free: 12.37 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.002173/0.002173, allocations: 63.91 kB / 466.5 MB, free: 9.598 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3011, allocations: 59.82 MB / 0.5139 GB, free: 9.102 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.03806/0.3391, allocations: 29.27 MB / 0.5425 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0364/0.3755, allocations: 28.41 MB / 0.5703 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.3771, allocations: 31.69 kB / 0.5703 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.379, allocations: 0.6803 MB / 0.571 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004284/0.3833, allocations: 1.323 MB / 0.5723 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01196/0.3952, allocations: 4.305 MB / 0.5765 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003793/0.399, allocations: 2.196 MB / 0.5786 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.4004, allocations: 0.9543 MB / 0.5795 GB, free: 7.988 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.4017, allocations: 1.048 MB / 0.5806 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001682/0.4034, allocations: 1.144 MB / 0.5817 GB, free: 5.789 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003715/0.4038, allocations: 176 kB / 0.5818 GB, free: 5.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007864/0.4117, allocations: 2.707 MB / 0.5845 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006954/0.4124, allocations: 486.5 kB / 0.585 GB, free: 2.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.4136, allocations: 0.976 MB / 0.5859 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01093/0.4246, allocations: 5.182 MB / 0.591 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4246, allocations: 0 / 0.591 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4246, allocations: 0 / 0.591 GB, free: 12.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.984e-05/0.4246, allocations: 0 / 0.591 GB, free: 12.25 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.004691/0.4293, allocations: 2.591 MB / 0.5935 GB, free: 9.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4293, allocations: 16.02 kB / 0.5935 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002485/0.4318, allocations: 0.526 MB / 0.594 GB, free: 9.047 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.4341, allocations: 1.259 MB / 0.5953 GB, free: 7.746 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.4343, allocations: 170.7 kB / 0.5954 GB, free: 7.566 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002976/0.4346, allocations: 140 kB / 0.5956 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003625/0.4382, allocations: 2.031 MB / 0.5975 GB, free: 5.328 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.4382, allocations: 11.88 kB / 0.5976 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002065/0.4384, allocations: 64 kB / 0.5976 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/0.4385, allocations: 36 kB / 0.5976 GB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004847/0.4433, allocations: 2.768 MB / 0.6003 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/0.4546, allocations: 6.672 MB / 0.6069 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00214/0.4567, allocations: 1.001 MB / 0.6078 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.4578, allocations: 0.513 MB / 0.6083 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01315/0.4709, allocations: 8.442 MB / 0.6166 GB, free: 0.543 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.471, allocations: 46.94 kB / 0.6166 GB, free: 500 kB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003792/0.4713, allocations: 99.03 kB / 0.6167 GB, free: 400 kB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 2.665e-06/0.4713, allocations: 0 / 0.6167 GB, free: 400 kB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.002164/0.4735, allocations: 1.006 MB / 0.6177 GB, free: 15.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.4736, allocations: 111.2 kB / 0.6178 GB, free: 15.21 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.4753, allocations: 1.245 MB / 0.619 GB, free: 13.95 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/0.4753, allocations: 37.7 kB / 0.6191 GB, free: 13.91 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008066/0.4761, allocations: 0.9936 MB / 0.62 GB, free: 12.91 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.4763, allocations: 206.4 kB / 0.6202 GB, free: 12.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004785/0.4768, allocations: 343.6 kB / 0.6206 GB, free: 12.36 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.477, allocations: 305.1 kB / 0.6209 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006296/0.4776, allocations: 311.8 kB / 0.6212 GB, free: 11.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.4791, allocations: 1.324 MB / 0.6224 GB, free: 9.922 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002439/0.4816, allocations: 1.805 MB / 0.6242 GB, free: 7.605 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/0.4816, allocations: 8 kB / 0.6242 GB, free: 7.598 MB / 478.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003123/0.4847, allocations: 1.698 MB / 0.6259 GB, free: 5.887 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.4848, allocations: 20 kB / 0.6259 GB, free: 5.867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.124e-05/0.4848, allocations: 40 kB / 0.6259 GB, free: 5.828 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006911/0.4855, allocations: 162.2 kB / 0.6261 GB, free: 5.664 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.487, allocations: 479.2 kB / 0.6265 GB, free: 5.195 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.4906, allocations: 4.093 MB / 0.6305 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.4917, allocations: 88.11 kB / 0.6306 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001983/0.4919, allocations: 131.9 kB / 0.6307 GB, free: 0.5508 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.0006619/0.4925, allocations: 380.9 kB / 0.6311 GB, free: 172 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.4928, allocations: 151 kB / 0.6313 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002781/0.4956, allocations: 1.38 MB / 0.6326 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4956, allocations: 4 kB / 0.6326 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.4956, allocations: 3.938 kB / 0.6326 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4956, allocations: 0 / 0.6326 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/0.4984, allocations: 1.527 MB / 0.6341 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.4984, allocations: 0 / 0.6341 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.4987, allocations: 75.89 kB / 0.6342 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008017/0.4995, allocations: 179.1 kB / 0.6343 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.4996, allocations: 16 kB / 0.6344 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003486/0.5031, allocations: 3.955 MB / 0.6382 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.5031, allocations: 4 kB / 0.6382 GB, free: 8.336 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.5048, allocations: 0.9931 MB / 0.6392 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000327/0.5051, allocations: 208.1 kB / 0.6394 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.5053, allocations: 8 kB / 0.6394 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/0.5057, allocations: 15.98 kB / 0.6394 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/0.5058, allocations: 39.97 kB / 0.6395 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.5059, allocations: 16 kB / 0.6395 GB, free: 6.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001461/0.5073, allocations: 0.9709 MB / 0.6404 GB, free: 6.016 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5073, allocations: 0 / 0.6404 GB, free: 6.016 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002684/0.51, allocations: 0.8641 MB / 0.6413 GB, free: 5.148 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.001942/0.5119, allocations: 1.07 MB / 0.6423 GB, free: 4.066 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.514, allocations: 0.8668 MB / 0.6432 GB, free: 3.207 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.514, allocations: 0 / 0.6432 GB, free: 3.207 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006134/0.5146, allocations: 409.1 kB / 0.6435 GB, free: 2.785 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.516, allocations: 236.5 kB / 0.6438 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.5197, allocations: 2.325 MB / 0.646 GB, free: 160 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000926/0.5207, allocations: 1.188 MB / 0.6472 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001194/0.5218, allocations: 405.1 kB / 0.6476 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/0.5222, allocations: 202 kB / 0.6478 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.5222, allocations: 0 / 0.6478 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of Templates: time 0.04644/0.5687, allocations: 26.91 MB / 0.6741 GB, free: 3.52 MB / 0.5137 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: 5.9603095054626465] Failed to read output from testmodel.py, exit status != 0: 0.5775763504207134 0.591527566 0.16378171 Calling exit ...