Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.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.0007708/0.0007708, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007448/0.0007448, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8234/0.8234, allocations: 177.1 MB / 202.8 MB, free: 5.539 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.07886/0.07886, allocations: 17.46 MB / 276.6 MB, free: 11.64 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.StandardLeadAcidPotential,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_StandardLeadAcidPotential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_StandardLeadAcidPotential",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 411.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.059e-05, allocations: 2.984 kB / 411.6 MB, free: 12.46 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.StandardLeadAcidPotential): time 0.0244/0.02442, allocations: 28.93 MB / 440.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01967/0.04409, allocations: 24.85 MB / 465.4 MB, free: 4.164 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.04539, allocations: 31.75 kB / 465.4 MB, free: 4.133 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.04666, allocations: 0.6084 MB / 466 MB, free: 3.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002707/0.04937, allocations: 1.326 MB / 467.3 MB, free: 2.184 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008378/0.05775, allocations: 4.486 MB / 471.8 MB, free: 13.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002502/0.06025, allocations: 2.269 MB / 474.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.06129, allocations: 0.9195 MB / 475 MB, free: 10.44 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.06249, allocations: 1.423 MB / 476.4 MB, free: 9.016 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008649/0.06335, allocations: 0.9314 MB / 477.4 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.06352, allocations: 180 kB / 477.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004683/0.06821, allocations: 2.561 MB / 480.1 MB, free: 5.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003367/0.06854, allocations: 486.4 kB / 480.6 MB, free: 4.863 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006093/0.06915, allocations: 0.7016 MB / 481.3 MB, free: 4.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00841/0.07756, allocations: 5.464 MB / 486.7 MB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.07757, allocations: 0 / 486.7 MB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.07757, allocations: 0 / 486.7 MB, free: 14.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.461e-05/0.07759, allocations: 0 / 486.7 MB, free: 14.68 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002807/0.0804, allocations: 2.492 MB / 489.2 MB, free: 12.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.08045, allocations: 8.031 kB / 489.2 MB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/0.08062, allocations: 219.6 kB / 489.5 MB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.08184, allocations: 0.5299 MB / 490 MB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.08347, allocations: 1.175 MB / 491.2 MB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.08359, allocations: 222.3 kB / 491.4 MB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.08376, allocations: 148.4 kB / 491.5 MB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.08578, allocations: 2.035 MB / 493.6 MB, free: 7.668 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.08581, allocations: 3.984 kB / 493.6 MB, free: 7.664 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.08592, allocations: 60 kB / 493.6 MB, free: 7.605 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.08594, allocations: 40 kB / 493.7 MB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.08854, allocations: 2.733 MB / 496.4 MB, free: 4.824 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006384/0.09492, allocations: 6 MB / 0.4906 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.09612, allocations: 0.9908 MB / 0.4916 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005665/0.09669, allocations: 0.513 MB / 0.4921 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005449/0.1021, allocations: 4.181 MB / 0.4962 GB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1022, allocations: 47 kB / 0.4962 GB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002305/0.1024, allocations: 110.9 kB / 0.4963 GB, free: 8.785 MB / 410.7 MB Notification: Performance of pre-optimization done (n=50): time 2.294e-06/0.1024, allocations: 0 / 0.4963 GB, free: 8.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=50): time 0.001206/0.1036, allocations: 0.8531 MB / 0.4972 GB, free: 7.922 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.1036, allocations: 115.2 kB / 0.4973 GB, free: 7.785 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009968/0.1046, allocations: 1.291 MB / 0.4985 GB, free: 6.484 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.1047, allocations: 37.7 kB / 0.4986 GB, free: 6.441 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/0.1051, allocations: 0.9819 MB / 0.4995 GB, free: 5.449 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.1052, allocations: 206.4 kB / 0.4997 GB, free: 5.246 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003709/0.1056, allocations: 339.3 kB / 0.5 GB, free: 4.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.078e-05/0.1056, allocations: 305.3 kB / 0.5003 GB, free: 4.609 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/0.106, allocations: 311.8 kB / 0.5006 GB, free: 4.305 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007228/0.1067, allocations: 1.327 MB / 0.5019 GB, free: 2.469 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.1079, allocations: 1.801 MB / 0.5037 GB, free: 160 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.108, allocations: 16 kB / 0.5037 GB, free: 144 kB / 410.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.001629/0.1096, allocations: 1.686 MB / 0.5054 GB, free: 14.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.1096, allocations: 20 kB / 0.5054 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/0.1096, allocations: 40 kB / 0.5054 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003847/0.11, allocations: 170.1 kB / 0.5056 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006943/0.1107, allocations: 479.2 kB / 0.506 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.1125, allocations: 3.885 MB / 0.5098 GB, free: 9.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006202/0.1132, allocations: 87.86 kB / 0.5099 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.1133, allocations: 124 kB / 0.51 GB, free: 9.363 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 166 * 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 (197): * Single equations (assignments): 193 * 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.0004233/0.1137, allocations: 392.9 kB / 0.5104 GB, free: 8.969 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.1138, allocations: 139.1 kB / 0.5105 GB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.1153, allocations: 1.4 MB / 0.5119 GB, free: 7.348 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1153, allocations: 4 kB / 0.5119 GB, free: 7.344 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.1153, allocations: 0 / 0.5119 GB, free: 7.344 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.1153, allocations: 3.984 kB / 0.5119 GB, free: 7.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.1175, allocations: 1.41 MB / 0.5133 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1175, allocations: 4 kB / 0.5133 GB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.1176, allocations: 75.89 kB / 0.5134 GB, free: 5.758 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003822/0.118, allocations: 179.3 kB / 0.5135 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.1181, allocations: 19.98 kB / 0.5136 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.1195, allocations: 3.729 MB / 0.5172 GB, free: 1.523 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1195, allocations: 7.938 kB / 0.5172 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007679/0.1203, allocations: 0.9847 MB / 0.5182 GB, free: 484 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.1205, allocations: 134.9 kB / 0.5183 GB, free: 348 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.01e-05/0.1206, allocations: 12 kB / 0.5183 GB, free: 336 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.1208, allocations: 15.98 kB / 0.5183 GB, free: 320 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.1208, allocations: 39.83 kB / 0.5184 GB, free: 280 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.1209, allocations: 20 kB / 0.5184 GB, free: 260 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007741/0.1216, allocations: 0.967 MB / 0.5193 GB, free: 15.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1216, allocations: 0 / 0.5193 GB, free: 15.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001729/0.1234, allocations: 0.8681 MB / 0.5202 GB, free: 14.42 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (anode.temperature,cathode.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 (31): * Single equations (assignments): 27 * 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.002238/0.1256, allocations: 2.526 MB / 0.5226 GB, free: 11.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.1267, allocations: 0.8787 MB / 0.5235 GB, free: 10.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1267, allocations: 0 / 0.5235 GB, free: 10.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.127, allocations: 401.1 kB / 0.5239 GB, free: 10.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000798/0.1278, allocations: 236.2 kB / 0.5241 GB, free: 10.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009989/0.1378, allocations: 11.73 MB / 0.5356 GB, free: 13.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.1382, allocations: 0.6063 MB / 0.5361 GB, free: 12.71 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007582/0.139, allocations: 404 kB / 0.5365 GB, free: 12.33 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005361/0.1395, allocations: 0.6753 MB / 0.5372 GB, free: 11.66 MB / 458.7 MB Notification: Performance of SimCode: time 9.31e-07/0.1395, allocations: 0 / 0.5372 GB, free: 11.66 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04806/0.1876, allocations: 41.77 MB / 0.578 GB, free: 2.16 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.209/8.397, allocations: 11.14 kB / 0.578 GB, free: 2.152 MB / 490.7 MB " [Timeout remaining time 651] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_StandardLeadAcidPotential_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_StandardLeadAcidPotential.fmu > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.345673013478518] Failed to read output from testmodel.py, exit status != 0: 8.64735294971615 8.645651601 8.566109785 Calling exit ...