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.001411/0.001411, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001505/0.001505, allocations: 215.2 kB / 22.25 MB, free: 5.258 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.1596/0.1596, allocations: 23.89 MB / 336.3 MB, free: 11.02 MB / 270.1 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: 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.00216/0.00216, allocations: 75.88 kB / 471.6 MB, free: 6.977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.4351, allocations: 59.85 MB / 0.519 GB, free: 9.801 MB / 382.1 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.07929/0.5144, allocations: 27.65 MB / 0.546 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02829/0.5427, allocations: 19.02 MB / 0.5646 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.5443, allocations: 23.81 kB / 0.5646 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.546, allocations: 485.2 kB / 0.5651 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003686/0.5497, allocations: 0.9757 MB / 0.566 GB, free: 9.562 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01093/0.5606, allocations: 3.346 MB / 0.5693 GB, free: 6.348 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004194/0.5648, allocations: 1.798 MB / 0.5711 GB, free: 4.543 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001552/0.5664, allocations: 0.7705 MB / 0.5718 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.5678, allocations: 0.8063 MB / 0.5726 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.5691, allocations: 0.8951 MB / 0.5735 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002774/0.5694, allocations: 148 kB / 0.5736 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006783/0.5762, allocations: 2.001 MB / 0.5756 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006476/0.5769, allocations: 390.7 kB / 0.5759 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.5782, allocations: 0.673 MB / 0.5766 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.5894, allocations: 4.054 MB / 0.5806 GB, free: 10.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5894, allocations: 0 / 0.5806 GB, free: 10.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5894, allocations: 0 / 0.5806 GB, free: 10.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.573e-05/0.5895, allocations: 0 / 0.5806 GB, free: 10.77 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: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.004107/0.5936, allocations: 2.064 MB / 0.5826 GB, free: 8.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5936, allocations: 8.031 kB / 0.5826 GB, free: 8.652 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.5954, allocations: 451.1 kB / 0.583 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.5974, allocations: 0.9997 MB / 0.584 GB, free: 7.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.5976, allocations: 209.6 kB / 0.5842 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/0.5978, allocations: 124 kB / 0.5843 GB, free: 6.832 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002798/0.6006, allocations: 1.764 MB / 0.586 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/0.6007, allocations: 3.938 kB / 0.586 GB, free: 4.992 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.6008, allocations: 55.98 kB / 0.5861 GB, free: 4.938 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.054e-05/0.6008, allocations: 32 kB / 0.5861 GB, free: 4.906 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003529/0.6043, allocations: 2.303 MB / 0.5884 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008792/0.6131, allocations: 4.81 MB / 0.5931 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.6146, allocations: 0.6938 MB / 0.5937 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005836/0.6152, allocations: 336.3 kB / 0.5941 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006996/0.6222, allocations: 2.857 MB / 0.5968 GB, free: 9.738 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.6222, allocations: 46.53 kB / 0.5969 GB, free: 9.684 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 1.794e-06/0.6222, allocations: 0 / 0.5969 GB, free: 9.684 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001474/0.6237, allocations: 0.6388 MB / 0.5975 GB, free: 9.031 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/0.6238, allocations: 110.8 kB / 0.5976 GB, free: 8.898 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.6253, allocations: 1.245 MB / 0.5988 GB, free: 7.637 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.6253, allocations: 33.7 kB / 0.5989 GB, free: 7.598 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007272/0.626, allocations: 0.8645 MB / 0.5997 GB, free: 6.723 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.6262, allocations: 154.8 kB / 0.5999 GB, free: 6.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003929/0.6266, allocations: 299.3 kB / 0.6001 GB, free: 6.273 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.6268, allocations: 358.1 kB / 0.6005 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005539/0.6273, allocations: 343.8 kB / 0.6008 GB, free: 5.582 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.6286, allocations: 1.156 MB / 0.6019 GB, free: 4.016 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/0.6306, allocations: 1.533 MB / 0.6034 GB, free: 2.074 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/0.6306, allocations: 11.94 kB / 0.6034 GB, free: 2.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002776/0.6334, allocations: 1.559 MB / 0.605 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.6334, allocations: 16.94 kB / 0.605 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.666e-05/0.6335, allocations: 32 kB / 0.605 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006815/0.6342, allocations: 161.3 kB / 0.6052 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.6353, allocations: 387.5 kB / 0.6055 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003495/0.6388, allocations: 3.836 MB / 0.6093 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.6399, allocations: 178.7 kB / 0.6095 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/0.6401, allocations: 104.2 kB / 0.6096 GB, free: 11.52 MB / 462.1 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.0005909/0.6407, allocations: 328.9 kB / 0.6099 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.6409, allocations: 111.2 kB / 0.61 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.6427, allocations: 0.9396 MB / 0.6109 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.6427, allocations: 4 kB / 0.6109 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.6428, allocations: 0 / 0.6109 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.6428, allocations: 0 / 0.6109 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.6449, allocations: 1.174 MB / 0.612 GB, free: 8.848 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.6449, allocations: 4 kB / 0.612 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.6451, allocations: 55.91 kB / 0.6121 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007773/0.6459, allocations: 179.6 kB / 0.6123 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.646, allocations: 12 kB / 0.6123 GB, free: 8.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003093/0.6491, allocations: 3.696 MB / 0.6159 GB, free: 4.629 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.6491, allocations: 4 kB / 0.6159 GB, free: 4.625 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.6504, allocations: 0.9 MB / 0.6168 GB, free: 3.668 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/0.6506, allocations: 95.25 kB / 0.6169 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.6507, allocations: 23.88 kB / 0.6169 GB, free: 3.551 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.6511, allocations: 8 kB / 0.6169 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/0.6511, allocations: 35.89 kB / 0.6169 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.6512, allocations: 23.98 kB / 0.617 GB, free: 3.484 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001228/0.6524, allocations: 0.8768 MB / 0.6178 GB, free: 2.602 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6524, allocations: 0 / 0.6178 GB, free: 2.602 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002463/0.6549, allocations: 0.7239 MB / 0.6185 GB, free: 1.875 MB / 462.1 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.001551/0.6564, allocations: 0.8527 MB / 0.6194 GB, free: 1.012 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001901/0.6583, allocations: 0.8179 MB / 0.6201 GB, free: 204 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6583, allocations: 3.938 kB / 0.6202 GB, free: 200 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005887/0.6589, allocations: 390.5 kB / 0.6205 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.66, allocations: 165 kB / 0.6207 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.6633, allocations: 1.995 MB / 0.6226 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005483/0.6638, allocations: 0.5032 MB / 0.6231 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008603/0.6647, allocations: 295.7 kB / 0.6234 GB, free: 12.77 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/0.6649, allocations: 147.3 kB / 0.6235 GB, free: 12.62 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6649, allocations: 4 kB / 0.6235 GB, free: 12.62 MB / 478.1 MB Notification: Performance of Templates: time 0.03662/0.7016, allocations: 22.75 MB / 0.6458 GB, free: 6.008 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.064722812734544] Failed to read output from testmodel.py, exit status != 0: 0.7109622750431299 0.7252287900000001 0.132656196 Calling exit ...