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.001566/0.001566, 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.001765/0.001765, allocations: 221 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.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.1428/0.1428, allocations: 23.88 MB / 337.1 MB, free: 11.2 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: 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.002062/0.002062, allocations: 67.91 kB / 472.5 MB, free: 7.168 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3631, allocations: 59.87 MB / 0.5199 GB, free: 9.863 MB / 382.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.04155/0.4047, allocations: 29.62 MB / 0.5488 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03714/0.4418, allocations: 28.47 MB / 0.5766 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/0.444, allocations: 35.69 kB / 0.5767 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002165/0.4461, allocations: 0.6748 MB / 0.5773 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005093/0.4512, allocations: 1.335 MB / 0.5786 GB, free: 13.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01386/0.4651, allocations: 4.348 MB / 0.5829 GB, free: 9.496 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00424/0.4693, allocations: 2.196 MB / 0.585 GB, free: 7.293 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.4708, allocations: 0.9235 MB / 0.5859 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.4723, allocations: 1.044 MB / 0.5869 GB, free: 5.285 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.474, allocations: 1.14 MB / 0.588 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000291/0.4743, allocations: 184 kB / 0.5882 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009446/0.4838, allocations: 2.711 MB / 0.5909 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007969/0.4846, allocations: 474.6 kB / 0.5913 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.486, allocations: 0.9876 MB / 0.5923 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.4989, allocations: 5.182 MB / 0.5973 GB, free: 10.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4989, allocations: 0 / 0.5973 GB, free: 10.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4989, allocations: 0 / 0.5973 GB, free: 10.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.814e-05/0.4989, allocations: 0 / 0.5973 GB, free: 10.59 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.004818/0.5038, allocations: 2.52 MB / 0.5998 GB, free: 8.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.5038, allocations: 8.031 kB / 0.5998 GB, free: 8.012 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002283/0.5061, allocations: 0.5299 MB / 0.6003 GB, free: 7.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/0.5085, allocations: 1.179 MB / 0.6015 GB, free: 6.273 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.5087, allocations: 226 kB / 0.6017 GB, free: 6.027 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002762/0.5089, allocations: 144 kB / 0.6018 GB, free: 5.887 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0034/0.5123, allocations: 2.031 MB / 0.6038 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/0.5124, allocations: 3.938 kB / 0.6038 GB, free: 3.781 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/0.5126, allocations: 64 kB / 0.6039 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.393e-05/0.5126, allocations: 36 kB / 0.6039 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004628/0.5172, allocations: 2.776 MB / 0.6066 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/0.53, allocations: 6.603 MB / 0.6131 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/0.5324, allocations: 0.9981 MB / 0.6141 GB, free: 9.074 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009585/0.5333, allocations: 0.5091 MB / 0.6145 GB, free: 8.555 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01157/0.5449, allocations: 4.344 MB / 0.6188 GB, free: 4.184 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/0.5449, allocations: 42.98 kB / 0.6188 GB, free: 4.133 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005717/0.5455, allocations: 103 kB / 0.6189 GB, free: 4.031 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 2.976e-06/0.5455, allocations: 7.938 kB / 0.6189 GB, free: 4.023 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.001949/0.5475, allocations: 0.8514 MB / 0.6198 GB, free: 3.164 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/0.5475, allocations: 111.2 kB / 0.6199 GB, free: 3.031 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/0.5492, allocations: 1.237 MB / 0.6211 GB, free: 1.785 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/0.5492, allocations: 33.7 kB / 0.6211 GB, free: 1.746 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000777/0.55, allocations: 1.001 MB / 0.6221 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.5502, allocations: 206.3 kB / 0.6223 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004144/0.5506, allocations: 339.3 kB / 0.6226 GB, free: 196 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.5507, allocations: 313.2 kB / 0.6229 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005772/0.5513, allocations: 311.8 kB / 0.6232 GB, free: 15.58 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.5528, allocations: 1.324 MB / 0.6245 GB, free: 13.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/0.5552, allocations: 1.801 MB / 0.6263 GB, free: 11.43 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.837e-05/0.5552, allocations: 15.98 kB / 0.6263 GB, free: 11.42 MB / 478.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002973/0.5582, allocations: 1.703 MB / 0.6279 GB, free: 9.703 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.5582, allocations: 20 kB / 0.628 GB, free: 9.684 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.862e-05/0.5582, allocations: 36 kB / 0.628 GB, free: 9.648 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006653/0.5589, allocations: 169.8 kB / 0.6282 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.5602, allocations: 479.2 kB / 0.6286 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003443/0.5637, allocations: 3.882 MB / 0.6324 GB, free: 4.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.5648, allocations: 88.05 kB / 0.6325 GB, free: 4.754 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001908/0.565, allocations: 131.9 kB / 0.6326 GB, free: 4.625 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.0006911/0.5657, allocations: 392.9 kB / 0.633 GB, free: 4.23 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000293/0.566, allocations: 139.1 kB / 0.6331 GB, free: 4.094 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002583/0.5685, allocations: 1.392 MB / 0.6345 GB, free: 2.617 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.5685, allocations: 4 kB / 0.6345 GB, free: 2.613 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.5685, allocations: 0 / 0.6345 GB, free: 2.613 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.5686, allocations: 3.984 kB / 0.6345 GB, free: 2.609 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.5711, allocations: 1.486 MB / 0.6359 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.5712, allocations: 8.281 kB / 0.6359 GB, free: 1.023 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/0.5715, allocations: 71.89 kB / 0.636 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007226/0.5722, allocations: 175.2 kB / 0.6362 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.5722, allocations: 23.98 kB / 0.6362 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003153/0.5754, allocations: 3.748 MB / 0.6399 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/0.5754, allocations: 7.938 kB / 0.6399 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.577, allocations: 1.001 MB / 0.6408 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.5773, allocations: 127 kB / 0.641 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.5774, allocations: 8 kB / 0.641 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.5779, allocations: 19.98 kB / 0.641 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/0.5779, allocations: 35.89 kB / 0.641 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.578, allocations: 28.05 kB / 0.6411 GB, free: 11.42 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001391/0.5794, allocations: 0.9592 MB / 0.642 GB, free: 10.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5794, allocations: 4 kB / 0.642 GB, free: 10.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00263/0.582, allocations: 0.8641 MB / 0.6428 GB, free: 9.594 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.001902/0.5839, allocations: 1.059 MB / 0.6439 GB, free: 8.523 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001974/0.5859, allocations: 0.8674 MB / 0.6447 GB, free: 7.664 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.5859, allocations: 0 / 0.6447 GB, free: 7.664 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005753/0.5865, allocations: 409 kB / 0.6451 GB, free: 7.238 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.5878, allocations: 244.2 kB / 0.6453 GB, free: 7.004 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/0.5915, allocations: 2.372 MB / 0.6477 GB, free: 4.555 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008724/0.5924, allocations: 1.181 MB / 0.6488 GB, free: 3.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005867/0.593, allocations: 300.8 kB / 0.6491 GB, free: 3.055 MB / 494.1 MB Notification: Performance of SimCode: time 9.42e-07/0.593, allocations: 0 / 0.6491 GB, free: 3.055 MB / 494.1 MB Notification: Performance of Templates: time 0.0608/0.6538, allocations: 49.23 MB / 0.6972 GB, free: 1.879 MB / 0.5294 GB " [Timeout remaining time 659] 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: 10.443317707016831] Failed to read output from testmodel.py, exit status != 0: 0.6629917119862512 0.6773842670000001 0.175224017 Calling exit ...