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.0007046/0.0007046, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 13.93 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.0007224/0.0007224, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.84/0.84, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.07957/0.07957, allocations: 17.45 MB / 276.6 MB, free: 11.75 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 411.6 MB, free: 236 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179e-05/1.315e-05, allocations: 3.406 kB / 411.6 MB, free: 232 kB / 378.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.02051/0.02052, allocations: 27.94 MB / 439.6 MB, free: 4.359 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1549/0.1754, allocations: 19.01 MB / 458.6 MB, free: 54.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006237/0.176, allocations: 32.19 kB / 458.6 MB, free: 54.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007237/0.1767, allocations: 499.4 kB / 459.1 MB, free: 53.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.178, allocations: 1.003 MB / 460.1 MB, free: 53.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004795/0.1828, allocations: 3.437 MB / 463.5 MB, free: 51.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.1838, allocations: 1.874 MB / 465.4 MB, free: 50.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004696/0.1843, allocations: 0.752 MB / 466.2 MB, free: 50.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005934/0.1849, allocations: 1.133 MB / 467.3 MB, free: 49.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004846/0.1854, allocations: 0.7076 MB / 468 MB, free: 49.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.1855, allocations: 148 kB / 468.1 MB, free: 49.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002458/0.1879, allocations: 1.976 MB / 470.1 MB, free: 48.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.1881, allocations: 394.6 kB / 470.5 MB, free: 48.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00027/0.1884, allocations: 0.5683 MB / 471.1 MB, free: 48.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002388/0.1907, allocations: 4.272 MB / 475.3 MB, free: 46.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1908, allocations: 0 / 475.3 MB, free: 46.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1908, allocations: 0 / 475.3 MB, free: 46.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.1908, allocations: 0 / 475.3 MB, free: 46.69 MB / 410.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.00149/0.1923, allocations: 2.053 MB / 477.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1923, allocations: 8.719 kB / 477.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.1924, allocations: 187.2 kB / 477.6 MB, free: 45.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007888/0.1932, allocations: 440.5 kB / 478 MB, free: 45.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008486/0.194, allocations: 0.9927 MB / 479 MB, free: 44.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.891e-05/0.1941, allocations: 206.2 kB / 479.2 MB, free: 44.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.1942, allocations: 129.6 kB / 479.3 MB, free: 44.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.1955, allocations: 1.769 MB / 481.1 MB, free: 43.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.1955, allocations: 0 / 481.1 MB, free: 43.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-05/0.1956, allocations: 51.91 kB / 481.2 MB, free: 43.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.1956, allocations: 36.45 kB / 481.2 MB, free: 43.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.1974, allocations: 2.306 MB / 483.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003879/0.2013, allocations: 4.964 MB / 488.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007818/0.2021, allocations: 0.6938 MB / 489.2 MB, free: 39.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/0.2024, allocations: 340.7 kB / 489.5 MB, free: 39.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003268/0.2057, allocations: 2.875 MB / 492.4 MB, free: 38.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.2057, allocations: 47.16 kB / 492.4 MB, free: 38.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 1.292e-06/0.2057, allocations: 0 / 492.4 MB, free: 38.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.0009027/0.2066, allocations: 0.6386 MB / 493.1 MB, free: 38.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.2066, allocations: 108.1 kB / 493.2 MB, free: 38.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009048/0.2075, allocations: 1.355 MB / 494.5 MB, free: 37.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.2076, allocations: 35.92 kB / 494.5 MB, free: 37.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.2078, allocations: 0.8537 MB / 495.4 MB, free: 36.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.723e-05/0.2079, allocations: 153 kB / 495.6 MB, free: 36.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.2081, allocations: 290.2 kB / 495.8 MB, free: 36.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.227e-05/0.2082, allocations: 361.2 kB / 496.2 MB, free: 36.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.2085, allocations: 343.5 kB / 496.5 MB, free: 36.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000607/0.2091, allocations: 1.159 MB / 497.7 MB, free: 34.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009944/0.2101, allocations: 1.535 MB / 499.2 MB, free: 33.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.2101, allocations: 8.656 kB / 499.2 MB, free: 33.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001486/0.2116, allocations: 1.564 MB / 0.4891 GB, free: 32.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.2116, allocations: 24.97 kB / 0.4891 GB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.2117, allocations: 28.94 kB / 0.4891 GB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003573/0.212, allocations: 151.3 kB / 0.4892 GB, free: 32.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006307/0.2126, allocations: 397.8 kB / 0.4896 GB, free: 32.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.2139, allocations: 3.86 MB / 0.4934 GB, free: 28.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004757/0.2144, allocations: 192.5 kB / 0.4936 GB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.2145, allocations: 109.4 kB / 0.4937 GB, free: 28.75 MB / 410.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.0002774/0.2148, allocations: 325.9 kB / 0.494 GB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.2149, allocations: 118.8 kB / 0.4941 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.216, allocations: 0.9493 MB / 0.495 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.216, allocations: 3.406 kB / 0.495 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.216, allocations: 1.125 kB / 0.495 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.216, allocations: 1.922 kB / 0.495 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.2173, allocations: 1.275 MB / 0.4963 GB, free: 27.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2173, allocations: 1.938 kB / 0.4963 GB, free: 27.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.2175, allocations: 63.56 kB / 0.4963 GB, free: 27.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000366/0.2178, allocations: 186.3 kB / 0.4965 GB, free: 27.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.2179, allocations: 15.31 kB / 0.4965 GB, free: 27.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.2189, allocations: 3.733 MB / 0.5002 GB, free: 23.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.2189, allocations: 7.688 kB / 0.5002 GB, free: 23.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007145/0.2196, allocations: 0.9063 MB / 0.5011 GB, free: 22.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.857e-05/0.2197, allocations: 112.5 kB / 0.5012 GB, free: 22.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/0.2198, allocations: 19.34 kB / 0.5012 GB, free: 22.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.22, allocations: 10.69 kB / 0.5012 GB, free: 22.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.2201, allocations: 44.02 kB / 0.5013 GB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.2201, allocations: 19.47 kB / 0.5013 GB, free: 22.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007252/0.2208, allocations: 0.97 MB / 0.5022 GB, free: 22.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2208, allocations: 0 / 0.5022 GB, free: 22.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001299/0.2221, allocations: 0.7081 MB / 0.5029 GB, free: 22.2 MB / 410.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.001591/0.2237, allocations: 2.235 MB / 0.5051 GB, free: 20.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009269/0.2246, allocations: 0.8274 MB / 0.5059 GB, free: 20.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2246, allocations: 2.656 kB / 0.5059 GB, free: 20.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.2249, allocations: 393.5 kB / 0.5063 GB, free: 20.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000695/0.2256, allocations: 181.2 kB / 0.5065 GB, free: 20.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006623/0.2322, allocations: 10.33 MB / 0.5165 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.2325, allocations: 0.509 MB / 0.517 GB, free: 9.734 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005163/0.2331, allocations: 315.9 kB / 0.5173 GB, free: 9.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/0.2334, allocations: 0.5337 MB / 0.5179 GB, free: 9.098 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2334, allocations: 0 / 0.5179 GB, free: 9.098 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03934/0.2727, allocations: 34.39 MB / 0.5515 GB, free: 8.387 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.153/8.426, allocations: 0 / 0.5515 GB, free: 8.387 MB / 442.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell.fmu > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.124912556260824] Failed to read output from testmodel.py, exit status != 0: 8.525766189210117 8.534477177 8.341633535 Calling exit ...