Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.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.0008896/0.0008896, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009365/0.0009365, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.9934/0.9934, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.08986/0.08986, 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.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 300.8 MB, free: 1.762 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.457e-05, allocations: 2.312 kB / 300.8 MB, free: 1.758 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.StandardElectrochemicalCell): time 0.03338/0.03339, allocations: 36.95 MB / 337.7 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0158/0.04919, allocations: 18.9 MB / 356.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007897/0.04998, allocations: 27.75 kB / 356.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008873/0.05086, allocations: 472.2 kB / 357.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.05254, allocations: 0.9576 MB / 358.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005899/0.05844, allocations: 3.031 MB / 361.1 MB, free: 7.934 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.06003, allocations: 1.867 MB / 363 MB, free: 6.055 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006744/0.06071, allocations: 0.8023 MB / 363.8 MB, free: 5.223 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008473/0.06156, allocations: 1.193 MB / 365 MB, free: 4.027 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007534/0.06231, allocations: 0.7678 MB / 365.7 MB, free: 3.258 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.06247, allocations: 144 kB / 365.9 MB, free: 3.117 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002943/0.06541, allocations: 1.766 MB / 367.6 MB, free: 1.348 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.06565, allocations: 402.7 kB / 368 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006637/0.06632, allocations: 0.5769 MB / 368.6 MB, free: 384 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00353/0.06985, allocations: 3.412 MB / 372 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.06985, allocations: 0 / 372 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.06985, allocations: 4 kB / 372 MB, free: 12.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.06987, allocations: 0 / 372 MB, free: 12.95 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.001847/0.07171, allocations: 2.004 MB / 374 MB, free: 10.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.07175, allocations: 8.031 kB / 374 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.07293, allocations: 0.6503 MB / 374.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.07401, allocations: 0.7002 MB / 375.4 MB, free: 9.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.07412, allocations: 205.9 kB / 375.6 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.07425, allocations: 124.4 kB / 375.7 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.07534, allocations: 1.229 MB / 376.9 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.07537, allocations: 0 / 376.9 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.339e-05/0.07545, allocations: 56 kB / 377 MB, free: 7.812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.07547, allocations: 32 kB / 377 MB, free: 7.781 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.07665, allocations: 1.129 MB / 378.2 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004071/0.08072, allocations: 3.943 MB / 382.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009444/0.08166, allocations: 0.5231 MB / 382.6 MB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.08186, allocations: 156.5 kB / 382.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003324/0.08519, allocations: 2.59 MB / 385.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.08521, allocations: 38.56 kB / 385.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 1.663e-06/0.08522, allocations: 0 / 385.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=37): time 0.0005749/0.08579, allocations: 378.8 kB / 385.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.08584, allocations: 106.8 kB / 385.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006448/0.08648, allocations: 0.9998 MB / 386.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.08652, allocations: 37.7 kB / 386.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.08684, allocations: 0.7686 MB / 387.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/0.08692, allocations: 150.8 kB / 387.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.08714, allocations: 283.3 kB / 388.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.08725, allocations: 365.8 kB / 388.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.0874, allocations: 126.8 kB / 388.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008138/0.08822, allocations: 0.9485 MB / 389.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008668/0.08908, allocations: 1.241 MB / 390.8 MB, free: 8.957 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.08909, allocations: 12 kB / 390.8 MB, free: 8.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.0009536/0.09005, allocations: 0.9706 MB / 391.8 MB, free: 7.961 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.09007, allocations: 18.5 kB / 391.8 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.09009, allocations: 35.98 kB / 391.8 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003438/0.09044, allocations: 153.4 kB / 392 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007006/0.09114, allocations: 439.5 kB / 392.4 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/0.09275, allocations: 3.613 MB / 396 MB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000721/0.09347, allocations: 183 kB / 396.2 MB, free: 3.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.254e-05/0.09355, allocations: 88.08 kB / 396.3 MB, free: 3.215 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (167): * Single equations (assignments): 163 * 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.0002107/0.09376, allocations: 223.9 kB / 396.5 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.629e-05/0.09386, allocations: 71.88 kB / 396.6 MB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009205/0.09478, allocations: 0.8208 MB / 397.4 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.09478, allocations: 4 kB / 397.4 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.09478, allocations: 7.938 kB / 397.4 MB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.09479, allocations: 7.984 kB / 397.4 MB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009416/0.09573, allocations: 0.9936 MB / 398.4 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.09573, allocations: 8.281 kB / 398.4 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.0959, allocations: 75.89 kB / 398.5 MB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003813/0.09628, allocations: 179.2 kB / 398.6 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.0963, allocations: 12 kB / 398.7 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.09771, allocations: 3.456 MB / 402.1 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.09771, allocations: 4 kB / 402.1 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.09821, allocations: 0.6766 MB / 402.8 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.373e-05/0.0983, allocations: 99.16 kB / 402.9 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-05/0.09837, allocations: 12 kB / 402.9 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.09855, allocations: 8 kB / 402.9 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.0986, allocations: 43.81 kB / 403 MB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.09862, allocations: 16 kB / 403 MB, free: 12.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000641/0.09926, allocations: 0.4965 MB / 403.5 MB, free: 11.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09926, allocations: 0 / 403.5 MB, free: 11.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001278/0.1005, allocations: 0.6656 MB / 404.1 MB, free: 10.89 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (30): * Single equations (assignments): 26 * 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.0009526/0.1015, allocations: 0.783 MB / 404.9 MB, free: 10.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006921/0.1022, allocations: 0.6008 MB / 405.5 MB, free: 9.508 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-05/0.1022, allocations: 19.81 kB / 405.5 MB, free: 9.488 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.1025, allocations: 353.7 kB / 405.9 MB, free: 9.117 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/0.103, allocations: 192.3 kB / 406.1 MB, free: 8.926 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.1052, allocations: 1.821 MB / 407.9 MB, free: 7.027 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.1054, allocations: 196 kB / 408.1 MB, free: 6.812 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004992/0.1059, allocations: 270.9 kB / 408.3 MB, free: 6.559 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/0.1062, allocations: 297.2 kB / 408.6 MB, free: 6.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1062, allocations: 0 / 408.6 MB, free: 6.27 MB / 378.7 MB Notification: Performance of Templates: time 0.02512/0.1313, allocations: 22.74 MB / 431.4 MB, free: 15.64 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1518881362862885]