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.001314/0.001314, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001456/0.001456, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8199/0.8199, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.07696/0.07696, allocations: 17.45 MB / 277.4 MB, free: 11.76 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 2.074e-06/2.074e-06, allocations: 0 / 412.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.876e-05, allocations: 2.984 kB / 412.9 MB, free: 12.44 MB / 330.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.0263/0.02633, allocations: 27.44 MB / 440.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01282/0.03915, allocations: 16.03 MB / 456.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006541/0.0398, allocations: 27.75 kB / 456.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007649/0.04057, allocations: 431.5 kB / 456.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.04201, allocations: 0.8369 MB / 457.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004484/0.04649, allocations: 2.942 MB / 460.5 MB, free: 9.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.04774, allocations: 1.695 MB / 462.2 MB, free: 8.027 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006522/0.04839, allocations: 0.7312 MB / 463 MB, free: 7.277 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006716/0.04906, allocations: 1.025 MB / 464 MB, free: 6.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006104/0.04967, allocations: 0.6429 MB / 464.6 MB, free: 5.605 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.04981, allocations: 147.9 kB / 464.8 MB, free: 5.461 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/0.05214, allocations: 1.68 MB / 466.5 MB, free: 3.777 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.05234, allocations: 362.8 kB / 466.8 MB, free: 3.422 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003464/0.05269, allocations: 0.5301 MB / 467.4 MB, free: 2.891 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002943/0.05563, allocations: 3.756 MB / 471.1 MB, free: 15.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.05564, allocations: 0 / 471.1 MB, free: 15.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.05564, allocations: 0 / 471.1 MB, free: 15.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.139e-05/0.05567, allocations: 0 / 471.1 MB, free: 15.12 MB / 378.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.002011/0.05768, allocations: 1.877 MB / 473 MB, free: 13.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.05772, allocations: 12.03 kB / 473 MB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000814/0.05853, allocations: 403 kB / 473.4 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009828/0.05951, allocations: 0.919 MB / 474.3 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.05962, allocations: 205.7 kB / 474.5 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.05975, allocations: 112.4 kB / 474.6 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.06127, allocations: 1.661 MB / 476.3 MB, free: 9.777 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.0613, allocations: 3.938 kB / 476.3 MB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-05/0.06138, allocations: 56 kB / 476.3 MB, free: 9.719 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.0614, allocations: 32 kB / 476.4 MB, free: 9.688 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.06329, allocations: 2.096 MB / 478.5 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00425/0.06753, allocations: 4.689 MB / 483.2 MB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008301/0.06836, allocations: 0.7015 MB / 483.9 MB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.06872, allocations: 328.4 kB / 484.2 MB, free: 1.738 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003228/0.07195, allocations: 2.648 MB / 486.8 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.07197, allocations: 46.48 kB / 486.9 MB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001312/0.0721, allocations: 63.41 kB / 486.9 MB, free: 14.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 2.184e-06/0.0721, allocations: 0 / 486.9 MB, free: 14.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008417/0.07295, allocations: 0.5889 MB / 487.5 MB, free: 14.35 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.07299, allocations: 111 kB / 487.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000803/0.0738, allocations: 1.169 MB / 488.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.07382, allocations: 37.7 kB / 488.8 MB, free: 12.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.07416, allocations: 0.7983 MB / 489.6 MB, free: 12.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.661e-05/0.07424, allocations: 142.9 kB / 489.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.07444, allocations: 270.7 kB / 490 MB, free: 11.76 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.07457, allocations: 402.7 kB / 490.4 MB, free: 11.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.07489, allocations: 326.5 kB / 490.8 MB, free: 11.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/0.07551, allocations: 1.054 MB / 491.8 MB, free: 9.621 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.07654, allocations: 1.395 MB / 493.2 MB, free: 7.859 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.07655, allocations: 8 kB / 493.2 MB, free: 7.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001396/0.07795, allocations: 1.451 MB / 494.7 MB, free: 6.387 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.07797, allocations: 19.94 kB / 494.7 MB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.07799, allocations: 28 kB / 494.7 MB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003503/0.07834, allocations: 162.2 kB / 494.9 MB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/0.07891, allocations: 375.4 kB / 495.2 MB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/0.08062, allocations: 3.812 MB / 499 MB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000396/0.08102, allocations: 67.86 kB / 499.1 MB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.598e-05/0.08109, allocations: 95.98 kB / 499.2 MB, free: 1.57 MB / 394.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.0002747/0.08137, allocations: 325.1 kB / 499.5 MB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.594e-05/0.08146, allocations: 99.28 kB / 499.6 MB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009335/0.0824, allocations: 0.8472 MB / 0.4887 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.0824, allocations: 7.938 kB / 0.4887 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.0824, allocations: 0 / 0.4887 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.08241, allocations: 4 kB / 0.4887 GB, free: 256 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.08347, allocations: 1.064 MB / 0.4898 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.08348, allocations: 0 / 0.4898 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.0836, allocations: 59.91 kB / 0.4898 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003478/0.08395, allocations: 187.2 kB / 0.49 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.08397, allocations: 12 kB / 0.49 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/0.08551, allocations: 3.687 MB / 0.4936 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.08552, allocations: 4.031 kB / 0.4936 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/0.0862, allocations: 0.847 MB / 0.4945 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.488e-05/0.08627, allocations: 83.36 kB / 0.4945 GB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.591e-05/0.08633, allocations: 12 kB / 0.4946 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.08651, allocations: 8 kB / 0.4946 GB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.08656, allocations: 39.88 kB / 0.4946 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.08658, allocations: 16 kB / 0.4946 GB, free: 9.844 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006046/0.08718, allocations: 0.8152 MB / 0.4954 GB, free: 9.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.08718, allocations: 0 / 0.4954 GB, free: 9.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001139/0.08832, allocations: 0.6461 MB / 0.496 GB, free: 8.371 MB / 410.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.000806/0.08913, allocations: 0.7654 MB / 0.4968 GB, free: 7.594 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008796/0.09001, allocations: 0.7694 MB / 0.4975 GB, free: 6.828 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.09001, allocations: 0 / 0.4975 GB, free: 6.828 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.0903, allocations: 386.4 kB / 0.4979 GB, free: 6.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.09087, allocations: 154.3 kB / 0.4981 GB, free: 6.281 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.09267, allocations: 1.775 MB / 0.4998 GB, free: 4.445 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.09304, allocations: 480.5 kB / 0.5002 GB, free: 3.941 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.09326, allocations: 188.4 kB / 0.5004 GB, free: 3.758 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.09326, allocations: 0 / 0.5004 GB, free: 3.758 MB / 410.7 MB Notification: Performance of Templates: time 0.02462/0.1179, allocations: 37.52 MB / 0.5371 GB, free: 14.27 MB / 458.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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.141581372357905] Failed to read output from testmodel.py, exit status != 0: 0.25645344518125057 0.13084077699999994 0.07362857999999994 Calling exit ...