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.001363/0.001363, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.001438/0.001438, allocations: 209.1 kB / 22.99 MB, free: 4.414 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.1385/0.1385, allocations: 23.93 MB / 337.1 MB, free: 10.9 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.002125/0.002125, allocations: 64.19 kB / 472.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3328, allocations: 59.88 MB / 0.5198 GB, free: 9.758 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.0792/0.412, allocations: 28.62 MB / 0.5478 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03537/0.4474, allocations: 24.85 MB / 0.5721 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002043/0.4494, allocations: 35.69 kB / 0.5721 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.4515, allocations: 0.6086 MB / 0.5727 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004776/0.4562, allocations: 1.28 MB / 0.5739 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01378/0.47, allocations: 4.348 MB / 0.5782 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004695/0.4747, allocations: 2.192 MB / 0.5803 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.4764, allocations: 0.9274 MB / 0.5812 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.4779, allocations: 1.044 MB / 0.5822 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/0.4797, allocations: 1.144 MB / 0.5834 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003693/0.4801, allocations: 176 kB / 0.5835 GB, free: 8.402 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008477/0.4886, allocations: 2.601 MB / 0.5861 GB, free: 5.797 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009091/0.4895, allocations: 490.5 kB / 0.5865 GB, free: 5.316 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.4908, allocations: 0.8168 MB / 0.5873 GB, free: 4.496 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01359/0.5044, allocations: 5.171 MB / 0.5924 GB, free: 15.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.5044, allocations: 0 / 0.5924 GB, free: 15.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5044, allocations: 0 / 0.5924 GB, free: 15.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.758e-05/0.5044, allocations: 0 / 0.5924 GB, free: 15.3 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.004929/0.5094, allocations: 2.516 MB / 0.5948 GB, free: 12.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.5094, allocations: 8.031 kB / 0.5949 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002301/0.5117, allocations: 0.5299 MB / 0.5954 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/0.5141, allocations: 1.175 MB / 0.5965 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002146/0.5143, allocations: 230.1 kB / 0.5967 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002772/0.5146, allocations: 144 kB / 0.5969 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003448/0.5181, allocations: 2.031 MB / 0.5989 GB, free: 8.508 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.5181, allocations: 0 / 0.5989 GB, free: 8.508 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.5183, allocations: 67.98 kB / 0.5989 GB, free: 8.441 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/0.5183, allocations: 36 kB / 0.599 GB, free: 8.406 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004487/0.5228, allocations: 2.737 MB / 0.6016 GB, free: 5.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/0.5334, allocations: 5.803 MB / 0.6073 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/0.5354, allocations: 0.9863 MB / 0.6083 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009059/0.5363, allocations: 0.513 MB / 0.6088 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.5467, allocations: 4.172 MB / 0.6128 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.5468, allocations: 42.98 kB / 0.6129 GB, free: 9.949 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004229/0.5472, allocations: 87.14 kB / 0.613 GB, free: 9.863 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 2.535e-06/0.5472, allocations: 0 / 0.613 GB, free: 9.863 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.001938/0.5492, allocations: 0.8512 MB / 0.6138 GB, free: 9.004 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/0.5492, allocations: 107.2 kB / 0.6139 GB, free: 8.875 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.5507, allocations: 1.167 MB / 0.615 GB, free: 7.691 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.837e-05/0.5508, allocations: 41.64 kB / 0.6151 GB, free: 7.645 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008282/0.5516, allocations: 0.9971 MB / 0.616 GB, free: 6.637 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.5518, allocations: 210.3 kB / 0.6162 GB, free: 6.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004389/0.5523, allocations: 339.3 kB / 0.6166 GB, free: 6.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5524, allocations: 305.4 kB / 0.6169 GB, free: 5.789 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000576/0.553, allocations: 315.8 kB / 0.6172 GB, free: 5.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.5545, allocations: 1.32 MB / 0.6184 GB, free: 3.652 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002397/0.5569, allocations: 1.809 MB / 0.6202 GB, free: 1.332 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.18e-05/0.5569, allocations: 12 kB / 0.6202 GB, free: 1.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003061/0.56, allocations: 1.683 MB / 0.6219 GB, free: 15.62 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.56, allocations: 23.98 kB / 0.6219 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.179e-05/0.56, allocations: 36 kB / 0.6219 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006924/0.5607, allocations: 174 kB / 0.6221 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.5621, allocations: 471.3 kB / 0.6225 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003445/0.5655, allocations: 3.84 MB / 0.6263 GB, free: 10.83 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.5667, allocations: 91.8 kB / 0.6264 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/0.5669, allocations: 124 kB / 0.6265 GB, free: 10.62 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.0006885/0.5676, allocations: 388.3 kB / 0.6269 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/0.5679, allocations: 131.2 kB / 0.627 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002476/0.5704, allocations: 1.363 MB / 0.6283 GB, free: 8.66 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.5704, allocations: 3.938 kB / 0.6283 GB, free: 8.656 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.5704, allocations: 7.938 kB / 0.6283 GB, free: 8.648 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5704, allocations: 48 / 0.6283 GB, free: 8.648 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0024/0.5728, allocations: 1.294 MB / 0.6296 GB, free: 7.277 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.5728, allocations: 4 kB / 0.6296 GB, free: 7.273 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/0.5731, allocations: 71.89 kB / 0.6297 GB, free: 7.203 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000712/0.5738, allocations: 175.6 kB / 0.6298 GB, free: 7.02 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.5739, allocations: 12 kB / 0.6299 GB, free: 7.008 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003128/0.577, allocations: 3.699 MB / 0.6335 GB, free: 3.039 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.577, allocations: 4 kB / 0.6335 GB, free: 3.035 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.5785, allocations: 0.987 MB / 0.6344 GB, free: 1.988 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/0.5788, allocations: 99.16 kB / 0.6345 GB, free: 1.891 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.579, allocations: 19.98 kB / 0.6345 GB, free: 1.871 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.5793, allocations: 11.94 kB / 0.6346 GB, free: 1.859 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/0.5794, allocations: 39.89 kB / 0.6346 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.5795, allocations: 19.98 kB / 0.6346 GB, free: 1.801 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001186/0.5806, allocations: 0.8449 MB / 0.6354 GB, free: 0.957 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5806, allocations: 0 / 0.6354 GB, free: 0.957 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002721/0.5834, allocations: 0.8835 MB / 0.6363 GB, free: 72 kB / 478.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.001949/0.5853, allocations: 1.066 MB / 0.6373 GB, free: 14.99 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.5873, allocations: 0.8672 MB / 0.6382 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.5873, allocations: 4 kB / 0.6382 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000587/0.5879, allocations: 406 kB / 0.6386 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.5891, allocations: 193.2 kB / 0.6388 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.593, allocations: 2.355 MB / 0.6411 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/0.5937, allocations: 0.6018 MB / 0.6417 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005939/0.5943, allocations: 289.8 kB / 0.6419 GB, free: 10.16 MB / 494.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5943, allocations: 0 / 0.6419 GB, free: 10.16 MB / 494.1 MB Notification: Performance of Templates: time 0.0616/0.6559, allocations: 49.04 MB / 0.6898 GB, free: 9.176 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.525446276005823] Failed to read output from testmodel.py, exit status != 0: 0.6656701199826784 0.679501738 0.17191443 Calling exit ...