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.001747/0.001747, 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.002191/0.002191, allocations: 222.5 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.82 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.1455/0.1455, allocations: 23.93 MB / 336.4 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.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: 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.00212/0.00212, allocations: 71.89 kB / 471.7 MB, free: 6.945 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.465/0.4671, allocations: 59.87 MB / 0.5191 GB, free: 9.777 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.CheckSubstancesData.StandardElectrochemicalCell): time 0.07729/0.5444, allocations: 27.64 MB / 0.5461 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02896/0.5733, allocations: 19.02 MB / 0.5647 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002126/0.5755, allocations: 23.81 kB / 0.5647 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.5775, allocations: 494.6 kB / 0.5652 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004703/0.5822, allocations: 0.963 MB / 0.5661 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01244/0.5947, allocations: 3.348 MB / 0.5694 GB, free: 6.297 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003861/0.5985, allocations: 1.806 MB / 0.5711 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.6, allocations: 0.7666 MB / 0.5719 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.6013, allocations: 0.8064 MB / 0.5727 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.6029, allocations: 0.8951 MB / 0.5735 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004831/0.6034, allocations: 148 kB / 0.5737 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00604/0.6094, allocations: 2.009 MB / 0.5756 GB, free: 15.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006245/0.61, allocations: 386.7 kB / 0.576 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.6112, allocations: 0.6691 MB / 0.5767 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008917/0.6201, allocations: 4.054 MB / 0.5806 GB, free: 10.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.6201, allocations: 0 / 0.5806 GB, free: 10.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6201, allocations: 0 / 0.5806 GB, free: 10.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.548e-05/0.6202, allocations: 0 / 0.5806 GB, free: 10.71 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.004259/0.6244, allocations: 2.072 MB / 0.5826 GB, free: 8.598 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.6245, allocations: 8.031 kB / 0.5827 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.6264, allocations: 443.1 kB / 0.5831 GB, free: 8.156 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.6284, allocations: 0.992 MB / 0.584 GB, free: 7.137 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.6286, allocations: 209.7 kB / 0.5842 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/0.6289, allocations: 124 kB / 0.5844 GB, free: 6.785 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003065/0.632, allocations: 1.756 MB / 0.5861 GB, free: 4.957 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/0.632, allocations: 3.938 kB / 0.5861 GB, free: 4.953 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/0.6321, allocations: 55.98 kB / 0.5861 GB, free: 4.898 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/0.6322, allocations: 35.94 kB / 0.5862 GB, free: 4.863 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003784/0.636, allocations: 2.307 MB / 0.5884 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008956/0.6449, allocations: 4.806 MB / 0.5931 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.6464, allocations: 0.7135 MB / 0.5938 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006243/0.6471, allocations: 336.3 kB / 0.5941 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007329/0.6544, allocations: 2.849 MB / 0.5969 GB, free: 9.684 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.6544, allocations: 42.5 kB / 0.597 GB, free: 9.633 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 4.338e-06/0.6544, allocations: 3.984 kB / 0.597 GB, free: 9.629 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001712/0.6562, allocations: 0.6349 MB / 0.5976 GB, free: 8.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.457e-05/0.6562, allocations: 111.1 kB / 0.5977 GB, free: 8.848 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.6579, allocations: 1.249 MB / 0.5989 GB, free: 7.582 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.658, allocations: 33.7 kB / 0.5989 GB, free: 7.543 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007404/0.6587, allocations: 0.8683 MB / 0.5998 GB, free: 6.664 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.6589, allocations: 154.8 kB / 0.5999 GB, free: 6.512 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004262/0.6593, allocations: 295.3 kB / 0.6002 GB, free: 6.219 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.6595, allocations: 353.9 kB / 0.6006 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005793/0.6601, allocations: 343.8 kB / 0.6009 GB, free: 5.531 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.6614, allocations: 1.156 MB / 0.602 GB, free: 3.965 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/0.6634, allocations: 1.533 MB / 0.6035 GB, free: 2.023 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.178e-05/0.6635, allocations: 15.94 kB / 0.6035 GB, free: 2.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002761/0.6662, allocations: 1.556 MB / 0.605 GB, free: 452 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.6663, allocations: 16 kB / 0.6051 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.403e-05/0.6663, allocations: 32 kB / 0.6051 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006723/0.667, allocations: 161.3 kB / 0.6052 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.6682, allocations: 395.7 kB / 0.6056 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003293/0.6715, allocations: 3.833 MB / 0.6094 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009807/0.6724, allocations: 179.1 kB / 0.6095 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/0.6726, allocations: 104 kB / 0.6096 GB, free: 11.47 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.0005715/0.6732, allocations: 325.1 kB / 0.6099 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002562/0.6734, allocations: 111.2 kB / 0.61 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/0.6753, allocations: 0.9398 MB / 0.611 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.6753, allocations: 7.984 kB / 0.611 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.6753, allocations: 0 / 0.611 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.6753, allocations: 7.938 kB / 0.611 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.6775, allocations: 1.163 MB / 0.6121 GB, free: 8.793 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.6775, allocations: 4 kB / 0.6121 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.6778, allocations: 56.19 kB / 0.6122 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007441/0.6785, allocations: 179.1 kB / 0.6123 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.6785, allocations: 15.98 kB / 0.6124 GB, free: 8.531 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003006/0.6816, allocations: 3.695 MB / 0.616 GB, free: 4.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.6816, allocations: 4 kB / 0.616 GB, free: 4.566 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.6829, allocations: 0.9024 MB / 0.6169 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.6831, allocations: 103.2 kB / 0.617 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.6833, allocations: 15.94 kB / 0.617 GB, free: 3.492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.6837, allocations: 16.16 kB / 0.617 GB, free: 3.477 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.448e-05/0.6837, allocations: 39.88 kB / 0.617 GB, free: 3.438 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.6838, allocations: 20 kB / 0.617 GB, free: 3.418 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00117/0.6849, allocations: 0.8807 MB / 0.6179 GB, free: 2.531 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6849, allocations: 0 / 0.6179 GB, free: 2.531 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002455/0.6874, allocations: 0.7239 MB / 0.6186 GB, free: 1.805 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.002143/0.6895, allocations: 0.8522 MB / 0.6194 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001888/0.6914, allocations: 0.8109 MB / 0.6202 GB, free: 140 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6914, allocations: 0 / 0.6202 GB, free: 140 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006032/0.692, allocations: 393.3 kB / 0.6206 GB, free: 15.73 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.6931, allocations: 170.6 kB / 0.6208 GB, free: 15.57 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/0.6966, allocations: 1.991 MB / 0.6227 GB, free: 13.51 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005926/0.6972, allocations: 0.5032 MB / 0.6232 GB, free: 12.97 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008789/0.698, allocations: 290.5 kB / 0.6235 GB, free: 12.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003082/0.6983, allocations: 147.3 kB / 0.6236 GB, free: 12.56 MB / 478.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6983, allocations: 0 / 0.6236 GB, free: 12.56 MB / 478.1 MB Notification: Performance of Templates: time 0.03766/0.736, allocations: 22.75 MB / 0.6458 GB, free: 5.945 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.157315031159669] Failed to read output from testmodel.py, exit status != 0: 0.7460762248374522 0.760565639 0.13704076899999995 Calling exit ...