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.001355/0.001355, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001459/0.001459, allocations: 213.6 kB / 23 MB, free: 4.934 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.1401/0.1401, allocations: 23.93 MB / 337.1 MB, free: 10.92 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.002083/0.002083, allocations: 71.89 kB / 472.5 MB, free: 6.934 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2805, allocations: 59.87 MB / 0.5198 GB, free: 9.785 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.07099/0.3515, allocations: 28.53 MB / 0.5477 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03313/0.3846, allocations: 24.85 MB / 0.572 GB, free: 4.371 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.3859, allocations: 31.69 kB / 0.572 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.3876, allocations: 0.6164 MB / 0.5726 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003469/0.3911, allocations: 1.276 MB / 0.5738 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01161/0.4027, allocations: 4.352 MB / 0.5781 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003239/0.4059, allocations: 2.184 MB / 0.5802 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.4072, allocations: 0.9313 MB / 0.5811 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.4084, allocations: 1.048 MB / 0.5822 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/0.4099, allocations: 1.14 MB / 0.5833 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003005/0.4102, allocations: 180 kB / 0.5834 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006431/0.4166, allocations: 2.609 MB / 0.586 GB, free: 5.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005269/0.4172, allocations: 482.4 kB / 0.5865 GB, free: 5.438 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000939/0.4181, allocations: 0.8208 MB / 0.5873 GB, free: 4.613 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008971/0.4271, allocations: 5.163 MB / 0.5923 GB, free: 15.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4271, allocations: 0 / 0.5923 GB, free: 15.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4271, allocations: 0 / 0.5923 GB, free: 15.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.96e-05/0.4271, allocations: 0 / 0.5923 GB, free: 15.43 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.004488/0.4316, allocations: 2.516 MB / 0.5948 GB, free: 12.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.4316, allocations: 8.031 kB / 0.5948 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002494/0.4341, allocations: 0.5338 MB / 0.5953 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.4366, allocations: 1.183 MB / 0.5964 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.4368, allocations: 222.1 kB / 0.5967 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003168/0.4371, allocations: 144 kB / 0.5968 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003671/0.4408, allocations: 2.027 MB / 0.5988 GB, free: 8.633 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/0.4408, allocations: 7.922 kB / 0.5988 GB, free: 8.625 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/0.441, allocations: 64 kB / 0.5988 GB, free: 8.562 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.101e-05/0.441, allocations: 36 kB / 0.5989 GB, free: 8.527 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004648/0.4457, allocations: 2.733 MB / 0.6015 GB, free: 5.785 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.4566, allocations: 5.802 MB / 0.6072 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/0.4586, allocations: 0.9893 MB / 0.6082 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009801/0.4596, allocations: 0.513 MB / 0.6087 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0108/0.4704, allocations: 4.176 MB / 0.6128 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.4705, allocations: 42.94 kB / 0.6128 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003151/0.4708, allocations: 87.14 kB / 0.6129 GB, free: 9.984 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 2.294e-06/0.4708, allocations: 4 kB / 0.6129 GB, free: 9.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.001935/0.4727, allocations: 0.8435 MB / 0.6137 GB, free: 9.129 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.4728, allocations: 107.2 kB / 0.6138 GB, free: 9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.4742, allocations: 1.159 MB / 0.6149 GB, free: 7.824 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.829e-05/0.4743, allocations: 41.64 kB / 0.615 GB, free: 7.777 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007984/0.4751, allocations: 1.001 MB / 0.616 GB, free: 6.766 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.4753, allocations: 210.3 kB / 0.6162 GB, free: 6.559 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005117/0.4758, allocations: 343.5 kB / 0.6165 GB, free: 6.215 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4759, allocations: 313.1 kB / 0.6168 GB, free: 5.906 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005925/0.4765, allocations: 311.8 kB / 0.6171 GB, free: 5.602 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.4781, allocations: 1.32 MB / 0.6184 GB, free: 3.773 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00241/0.4806, allocations: 1.809 MB / 0.6201 GB, free: 1.453 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/0.4806, allocations: 8 kB / 0.6201 GB, free: 1.445 MB / 462.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002921/0.4835, allocations: 1.687 MB / 0.6218 GB, free: 15.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/0.4835, allocations: 20 kB / 0.6218 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.029e-05/0.4836, allocations: 36.88 kB / 0.6218 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006781/0.4842, allocations: 169.4 kB / 0.622 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.4857, allocations: 479.2 kB / 0.6225 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/0.4891, allocations: 3.836 MB / 0.6262 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000938/0.49, allocations: 91.84 kB / 0.6263 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/0.4902, allocations: 124 kB / 0.6264 GB, free: 10.74 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.000592/0.4908, allocations: 385.5 kB / 0.6268 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/0.491, allocations: 135.2 kB / 0.6269 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.4937, allocations: 1.364 MB / 0.6282 GB, free: 8.781 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/0.4937, allocations: 7.875 kB / 0.6283 GB, free: 8.773 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.4937, allocations: 0 / 0.6283 GB, free: 8.773 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.4939, allocations: 103.2 kB / 0.6283 GB, free: 8.672 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.494, allocations: 8 kB / 0.6284 GB, free: 8.664 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.4944, allocations: 8 kB / 0.6284 GB, free: 8.656 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.4945, allocations: 23.95 kB / 0.6284 GB, free: 8.633 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001156/0.4956, allocations: 0.6276 MB / 0.629 GB, free: 7.984 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001035/0.4967, allocations: 0.8613 MB / 0.6298 GB, free: 7.105 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002011/0.4969, allocations: 108 kB / 0.6299 GB, free: 7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001184/0.498, allocations: 0.845 MB / 0.6308 GB, free: 6.156 MB / 478.1 MB Notification: Performance of Backend: time 4.6e-07/0.498, allocations: 0 / 0.6308 GB, free: 6.156 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005237/0.5033, allocations: 2.306 MB / 0.633 GB, free: 3.848 MB / 478.1 MB Notification: Performance of SimCode: time 0.0044/0.5077, allocations: 3.066 MB / 0.636 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of Templates: time 0.05605/0.5637, allocations: 36.71 MB / 0.6719 GB, free: 12.17 MB / 0.5137 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 os._exit(0), Time elapsed: 5.882069915009197] Failed to read output from testmodel.py, exit status != 0: 0.5721005060040625 0.586790292 0.156525733 Calling exit ...