Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.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.0007571/0.0007571, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 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.0008757/0.0008757, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 18.57 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 0.9161/0.9161, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.08356/0.08356, allocations: 17.47 MB / 277.7 MB, free: 11.44 MB / 266.7 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.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 300.7 MB, free: 1.727 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.147e-06/1.05e-05, allocations: 4.391 kB / 300.7 MB, free: 1.723 MB / 266.7 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.StandardElectrochemicalCell2): time 0.02892/0.02893, allocations: 36.22 MB / 337 MB, free: 148 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.04009, allocations: 13.36 MB / 350.3 MB, free: 2.734 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006526/0.04075, allocations: 19.81 kB / 350.3 MB, free: 2.715 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006592/0.04141, allocations: 365 kB / 350.7 MB, free: 2.355 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.04278, allocations: 0.8026 MB / 351.5 MB, free: 1.547 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003699/0.04648, allocations: 2.174 MB / 353.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.04782, allocations: 1.684 MB / 355.4 MB, free: 13.67 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006852/0.0485, allocations: 0.7862 MB / 356.1 MB, free: 12.85 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008183/0.04932, allocations: 1.092 MB / 357.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006498/0.04997, allocations: 0.6937 MB / 357.9 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.05012, allocations: 140 kB / 358.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.05193, allocations: 1.189 MB / 359.3 MB, free: 9.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.05215, allocations: 374.8 kB / 359.6 MB, free: 9.363 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003812/0.05253, allocations: 0.5418 MB / 360.2 MB, free: 8.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002249/0.05478, allocations: 2.611 MB / 362.8 MB, free: 6.199 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.05478, allocations: 0 / 362.8 MB, free: 6.199 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.05479, allocations: 3.984 kB / 362.8 MB, free: 6.195 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.003e-05/0.05481, allocations: 0 / 362.8 MB, free: 6.195 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.001587/0.05639, allocations: 1.767 MB / 364.5 MB, free: 4.395 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.049e-05/0.05641, allocations: 8.031 kB / 364.6 MB, free: 4.387 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009118/0.05732, allocations: 0.5927 MB / 365.1 MB, free: 3.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007941/0.05812, allocations: 0.6255 MB / 365.8 MB, free: 3.141 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.05823, allocations: 197.8 kB / 366 MB, free: 2.922 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.05835, allocations: 116.4 kB / 366.1 MB, free: 2.809 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009792/0.05933, allocations: 1.145 MB / 367.2 MB, free: 1.586 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.05935, allocations: 0 / 367.2 MB, free: 1.586 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.933e-05/0.05943, allocations: 52 kB / 367.3 MB, free: 1.535 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.05944, allocations: 32 kB / 367.3 MB, free: 1.504 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009959/0.06044, allocations: 1.012 MB / 368.3 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003565/0.064, allocations: 3.775 MB / 372.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000537/0.06454, allocations: 0.5076 MB / 372.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.06471, allocations: 152.5 kB / 372.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002883/0.06759, allocations: 2.341 MB / 375.1 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.06762, allocations: 42.56 kB / 375.1 MB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001305/0.06775, allocations: 67.36 kB / 375.2 MB, free: 9.445 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.172e-06/0.06775, allocations: 0 / 375.2 MB, free: 9.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005142/0.06826, allocations: 347 kB / 375.5 MB, free: 9.094 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.06831, allocations: 110.8 kB / 375.6 MB, free: 8.961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005867/0.06889, allocations: 0.9193 MB / 376.6 MB, free: 8.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.06892, allocations: 33.95 kB / 376.6 MB, free: 7.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/0.0692, allocations: 0.7329 MB / 377.3 MB, free: 7.238 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/0.06927, allocations: 131 kB / 377.5 MB, free: 7.109 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.06946, allocations: 274.5 kB / 377.7 MB, free: 6.836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.06958, allocations: 414.5 kB / 378.1 MB, free: 6.422 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.06971, allocations: 113.4 kB / 378.2 MB, free: 6.309 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/0.07014, allocations: 0.8505 MB / 379.1 MB, free: 5.094 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007325/0.07087, allocations: 1.118 MB / 380.2 MB, free: 3.605 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.07088, allocations: 8 kB / 380.2 MB, free: 3.598 MB / 346.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.0008332/0.07172, allocations: 0.8901 MB / 381.1 MB, free: 2.691 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.07174, allocations: 16 kB / 381.1 MB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.07175, allocations: 24 kB / 381.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003032/0.07206, allocations: 145.9 kB / 381.3 MB, free: 2.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/0.07262, allocations: 371.4 kB / 381.7 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.07407, allocations: 3.62 MB / 385.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.07446, allocations: 71.84 kB / 385.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.056e-05/0.07453, allocations: 83.98 kB / 385.4 MB, free: 14.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * 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 (155): * Single equations (assignments): 151 * 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.0001871/0.07472, allocations: 212 kB / 385.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.452e-05/0.0748, allocations: 63.88 kB / 385.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007717/0.07557, allocations: 0.7181 MB / 386.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.07558, allocations: 4 kB / 386.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.07558, allocations: 0 / 386.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.07558, allocations: 7.984 kB / 386.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008339/0.07642, allocations: 0.9177 MB / 387.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.07642, allocations: 4 kB / 387.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.07653, allocations: 43.98 kB / 387.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003503/0.07688, allocations: 183.2 kB / 387.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.0769, allocations: 16 kB / 387.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.07818, allocations: 3.456 MB / 391 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.07818, allocations: 7.938 kB / 391 MB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.07864, allocations: 0.6446 MB / 391.7 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.928e-05/0.07871, allocations: 83.36 kB / 391.8 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.142e-05/0.07877, allocations: 8 kB / 391.8 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.07894, allocations: 8 kB / 391.8 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.07898, allocations: 31.89 kB / 391.8 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.079, allocations: 19.98 kB / 391.8 MB, free: 7.301 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003301/0.07933, allocations: 468.3 kB / 392.3 MB, free: 6.832 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07933, allocations: 0 / 392.3 MB, free: 6.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009312/0.08026, allocations: 0.5294 MB / 392.8 MB, free: 6.301 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (cathode.temperature,anode.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 (27): * Single equations (assignments): 23 * 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.0006055/0.08086, allocations: 0.5495 MB / 393.4 MB, free: 5.738 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006/0.08146, allocations: 0.5579 MB / 393.9 MB, free: 5.184 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.371e-05/0.08149, allocations: 17.81 kB / 393.9 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.08176, allocations: 340.1 kB / 394.3 MB, free: 4.809 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.08226, allocations: 178.8 kB / 394.5 MB, free: 4.641 MB / 362.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.08429, allocations: 1.692 MB / 396.1 MB, free: 2.883 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.08441, allocations: 187.2 kB / 396.3 MB, free: 2.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004266/0.08483, allocations: 233.7 kB / 396.6 MB, free: 2.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/0.08513, allocations: 261.2 kB / 396.8 MB, free: 2.203 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.08513, allocations: 0 / 396.8 MB, free: 2.203 MB / 362.7 MB Notification: Performance of Templates: time 0.01943/0.1046, allocations: 18.17 MB / 415 MB, free: 136 kB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9229235909879208]