Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.000906/0.000906, allocations: 80.75 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.0009638/0.0009638, allocations: 181 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.9437/0.9437, 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 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.08904/0.08904, allocations: 17.39 MB / 277.6 MB, free: 11.53 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 300.6 MB, free: 1.871 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.377e-05, allocations: 2.312 kB / 300.6 MB, free: 1.867 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.03506/0.03509, allocations: 36.89 MB / 337.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01548/0.05057, allocations: 18.9 MB / 356.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.05166, allocations: 27.75 kB / 356.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009605/0.05262, allocations: 460.3 kB / 356.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002163/0.05478, allocations: 0.9615 MB / 357.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006001/0.06078, allocations: 3.074 MB / 360.9 MB, free: 8.188 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002511/0.06329, allocations: 1.875 MB / 362.8 MB, free: 6.301 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009644/0.06426, allocations: 0.7984 MB / 363.6 MB, free: 5.473 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.06539, allocations: 1.189 MB / 364.8 MB, free: 4.281 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000962/0.06635, allocations: 0.7756 MB / 365.6 MB, free: 3.504 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002763/0.06663, allocations: 144 kB / 365.7 MB, free: 3.363 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00357/0.0702, allocations: 1.723 MB / 367.4 MB, free: 1.637 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002866/0.07049, allocations: 398.7 kB / 367.8 MB, free: 1.246 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005882/0.07107, allocations: 0.5808 MB / 368.4 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005679/0.07675, allocations: 3.412 MB / 371.8 MB, free: 13.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.07676, allocations: 0 / 371.8 MB, free: 13.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.07676, allocations: 0 / 371.8 MB, free: 13.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.297e-05/0.0768, allocations: 4 kB / 371.8 MB, free: 13.23 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.002241/0.07904, allocations: 1.997 MB / 373.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.07908, allocations: 8.031 kB / 373.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.08018, allocations: 0.6503 MB / 374.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008721/0.08106, allocations: 0.7041 MB / 375.2 MB, free: 9.812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.08118, allocations: 201.9 kB / 375.4 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.08131, allocations: 128.3 kB / 375.5 MB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.08262, allocations: 1.229 MB / 376.7 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.08264, allocations: 3.938 kB / 376.7 MB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.964e-05/0.08272, allocations: 52 kB / 376.8 MB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.08274, allocations: 32 kB / 376.8 MB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.0838, allocations: 1.133 MB / 377.9 MB, free: 6.938 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003731/0.08753, allocations: 3.955 MB / 381.9 MB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005439/0.08807, allocations: 0.519 MB / 382.4 MB, free: 2.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.08825, allocations: 156.5 kB / 382.6 MB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003478/0.09173, allocations: 2.586 MB / 385.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.09175, allocations: 42.5 kB / 385.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 2.905e-06/0.09176, allocations: 3.984 kB / 385.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=37): time 0.0005656/0.09232, allocations: 374.9 kB / 385.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.09236, allocations: 110.8 kB / 385.7 MB, free: 15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006054/0.09297, allocations: 0.9959 MB / 386.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.093, allocations: 41.7 kB / 386.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.09328, allocations: 0.7647 MB / 387.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.964e-05/0.09336, allocations: 154.8 kB / 387.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.09357, allocations: 283.3 kB / 387.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.815e-05/0.09366, allocations: 365.8 kB / 388.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.09381, allocations: 126.7 kB / 388.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.09429, allocations: 0.9486 MB / 389.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.09534, allocations: 1.244 MB / 390.6 MB, free: 9.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.09535, allocations: 8 kB / 390.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.0008767/0.09622, allocations: 0.9668 MB / 391.6 MB, free: 8.242 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.09625, allocations: 20 kB / 391.6 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.09627, allocations: 28 kB / 391.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000337/0.09661, allocations: 153.3 kB / 391.8 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000576/0.09718, allocations: 395.6 kB / 392.1 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.09872, allocations: 3.616 MB / 395.8 MB, free: 3.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/0.09924, allocations: 179 kB / 395.9 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/0.09933, allocations: 87.98 kB / 396 MB, free: 3.543 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.0002418/0.09957, allocations: 227.9 kB / 396.2 MB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.732e-05/0.09967, allocations: 67.86 kB / 396.3 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009041/0.1006, allocations: 0.8174 MB / 397.1 MB, free: 2.371 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1006, allocations: 0 / 397.1 MB, free: 2.371 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1006, allocations: 4 kB / 397.1 MB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1006, allocations: 7.938 kB / 397.1 MB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.1019, allocations: 0.9937 MB / 398.1 MB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1019, allocations: 4.281 kB / 398.1 MB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.1021, allocations: 67.91 kB / 398.2 MB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004294/0.1025, allocations: 163.3 kB / 398.4 MB, free: 1.055 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.1025, allocations: 20 kB / 398.4 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.1042, allocations: 3.469 MB / 401.8 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.1042, allocations: 4 kB / 401.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007496/0.1049, allocations: 0.6649 MB / 402.5 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.1051, allocations: 99.16 kB / 402.6 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.857e-05/0.1052, allocations: 12 kB / 402.6 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.1054, allocations: 8 kB / 402.6 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.1054, allocations: 47.81 kB / 402.7 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.1054, allocations: 12 kB / 402.7 MB, free: 12.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006883/0.1061, allocations: 0.5004 MB / 403.2 MB, free: 11.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1061, allocations: 0 / 403.2 MB, free: 11.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001637/0.1078, allocations: 0.6656 MB / 403.9 MB, free: 11.25 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.001196/0.109, allocations: 0.787 MB / 404.6 MB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007685/0.1097, allocations: 0.6011 MB / 405.2 MB, free: 9.859 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.734e-05/0.1098, allocations: 17.81 kB / 405.3 MB, free: 9.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.11, allocations: 351.3 kB / 405.6 MB, free: 9.473 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/0.1106, allocations: 183.9 kB / 405.8 MB, free: 9.293 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.00218/0.1127, allocations: 1.829 MB / 407.6 MB, free: 7.387 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.1129, allocations: 207.9 kB / 407.8 MB, free: 7.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004952/0.1134, allocations: 273.5 kB / 408.1 MB, free: 6.902 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/0.1137, allocations: 289.2 kB / 408.4 MB, free: 6.621 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1137, allocations: 0 / 408.4 MB, free: 6.621 MB / 378.7 MB Notification: Performance of Templates: time 0.0248/0.1385, allocations: 22.64 MB / 431 MB, free: 92 kB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3159955609589815]