Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.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.001373/0.001373, allocations: 97.11 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.001433/0.001433, allocations: 204.3 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1328/0.1328, allocations: 23.93 MB / 337.1 MB, free: 10.93 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.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") [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.002047/0.002047, allocations: 63.91 kB / 472.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3079, allocations: 59.87 MB / 0.5198 GB, free: 9.73 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.H2O_ElectrochemicalCell): time 0.07744/0.3853, allocations: 28.09 MB / 0.5473 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02406/0.4094, allocations: 17.13 MB / 0.564 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.4109, allocations: 27.75 kB / 0.564 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.4122, allocations: 466.8 kB / 0.5645 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003451/0.4157, allocations: 1.205 MB / 0.5656 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007657/0.4233, allocations: 2.893 MB / 0.5685 GB, free: 8.004 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002876/0.4262, allocations: 2.09 MB / 0.5705 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.4275, allocations: 1.084 MB / 0.5716 GB, free: 4.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009688/0.4284, allocations: 0.931 MB / 0.5725 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.4297, allocations: 1.062 MB / 0.5735 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000272/0.43, allocations: 204 kB / 0.5737 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0051/0.4351, allocations: 2.012 MB / 0.5757 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004782/0.4356, allocations: 470.6 kB / 0.5761 GB, free: 96 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009324/0.4365, allocations: 0.821 MB / 0.5769 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009668/0.4462, allocations: 4.346 MB / 0.5812 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.4462, allocations: 3.984 kB / 0.5812 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.5e-06/0.4462, allocations: 4 kB / 0.5812 GB, free: 10.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.636e-05/0.4462, allocations: 0 / 0.5812 GB, free: 10.9 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.004725/0.451, allocations: 2.331 MB / 0.5834 GB, free: 8.523 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.451, allocations: 8.031 kB / 0.5835 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001887/0.4529, allocations: 450.8 kB / 0.5839 GB, free: 8.074 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/0.455, allocations: 1.007 MB / 0.5849 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/0.4552, allocations: 246.4 kB / 0.5851 GB, free: 6.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002921/0.4555, allocations: 164 kB / 0.5853 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003968/0.4595, allocations: 2.237 MB / 0.5874 GB, free: 4.305 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.322e-05/0.4595, allocations: 3.938 kB / 0.5874 GB, free: 4.301 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/0.4597, allocations: 68 kB / 0.5875 GB, free: 4.234 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.035e-05/0.4598, allocations: 40 kB / 0.5876 GB, free: 4.195 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004482/0.4642, allocations: 2.703 MB / 0.5902 GB, free: 1.484 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01176/0.476, allocations: 6.124 MB / 0.5962 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.4779, allocations: 0.9756 MB / 0.5971 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009072/0.4788, allocations: 0.5135 MB / 0.5976 GB, free: 9.691 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007833/0.4866, allocations: 2.985 MB / 0.6005 GB, free: 6.684 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.4867, allocations: 39.22 kB / 0.6006 GB, free: 6.637 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005158/0.4872, allocations: 103.1 kB / 0.6007 GB, free: 6.535 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 2.825e-06/0.4872, allocations: 0 / 0.6007 GB, free: 6.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.02083/0.508, allocations: 4.561 MB / 0.6051 GB, free: 1.918 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/0.5081, allocations: 119.8 kB / 0.6052 GB, free: 1.773 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.5098, allocations: 1.453 MB / 0.6067 GB, free: 308 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.527e-05/0.5099, allocations: 41.7 kB / 0.6067 GB, free: 260 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006755/0.5106, allocations: 0.9319 MB / 0.6076 GB, free: 15.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003254/0.5109, allocations: 361 kB / 0.608 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000533/0.5114, allocations: 359.3 kB / 0.6083 GB, free: 14.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.5116, allocations: 353.9 kB / 0.6086 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.5126, allocations: 0.6365 MB / 0.6093 GB, free: 13.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.5143, allocations: 1.345 MB / 0.6106 GB, free: 11.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002588/0.5169, allocations: 1.929 MB / 0.6125 GB, free: 9.664 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/0.5169, allocations: 8 kB / 0.6125 GB, free: 9.656 MB / 462.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005993/0.5229, allocations: 2.379 MB / 0.6148 GB, free: 7.258 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.5229, allocations: 16 kB / 0.6148 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/0.5229, allocations: 24 kB / 0.6148 GB, free: 7.219 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002875/0.5258, allocations: 382.9 kB / 0.6152 GB, free: 6.832 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002885/0.5287, allocations: 0.5578 MB / 0.6157 GB, free: 6.273 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009108/0.5378, allocations: 7.378 MB / 0.6229 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.5392, allocations: 92.09 kB / 0.623 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001822/0.5393, allocations: 104 kB / 0.6231 GB, free: 14.23 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006451/0.54, allocations: 373.1 kB / 0.6235 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.5403, allocations: 119.2 kB / 0.6236 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005113/0.5454, allocations: 1.514 MB / 0.6251 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.5454, allocations: 11.91 kB / 0.6251 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.5454, allocations: 8 kB / 0.6251 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002189/0.5456, allocations: 103.2 kB / 0.6252 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.5458, allocations: 16 kB / 0.6252 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006957/0.5465, allocations: 27.92 kB / 0.6252 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.5467, allocations: 88.84 kB / 0.6253 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004718/0.5514, allocations: 1.501 MB / 0.6268 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002667/0.5541, allocations: 1.798 MB / 0.6285 GB, free: 8.617 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006613/0.5547, allocations: 383.7 kB / 0.6289 GB, free: 8.242 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001199/0.5559, allocations: 0.9713 MB / 0.6299 GB, free: 7.262 MB / 478.1 MB Notification: Performance of Backend: time 5.21e-07/0.5559, allocations: 0 / 0.6299 GB, free: 7.262 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006217/0.5621, allocations: 2.519 MB / 0.6323 GB, free: 4.711 MB / 478.1 MB Notification: Performance of SimCode: time 0.004783/0.5669, allocations: 3.129 MB / 0.6354 GB, free: 1.52 MB / 478.1 MB Notification: Performance of Templates: time 0.05579/0.6227, allocations: 36.92 MB / 0.6714 GB, free: 12.7 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.095554897998227] Failed to read output from testmodel.py, exit status != 0: 0.6312139450019458 0.645364844 0.195997372 Calling exit ...