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.00173/0.00173, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002206/0.002206, allocations: 212.3 kB / 22.25 MB, free: 5.086 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.39/1.39, allocations: 230.6 MB / 256 MB, free: 8.039 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.1297/0.1297, allocations: 23.9 MB / 336.3 MB, free: 11.29 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: "" <> 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: 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.001945/0.001945, allocations: 71.88 kB / 471.2 MB, free: 7.672 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3253, allocations: 59.87 MB / 0.5187 GB, free: 9.582 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.03971/0.365, allocations: 28.4 MB / 0.5464 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02785/0.3929, allocations: 21.76 MB / 0.5676 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.3945, allocations: 27.75 kB / 0.5677 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.3962, allocations: 0.5322 MB / 0.5682 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003512/0.3997, allocations: 1.006 MB / 0.5692 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009992/0.4097, allocations: 3.35 MB / 0.5724 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003385/0.4131, allocations: 1.806 MB / 0.5742 GB, free: 1.195 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.4143, allocations: 0.755 MB / 0.5749 GB, free: 428 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.4153, allocations: 0.8102 MB / 0.5757 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.4166, allocations: 0.903 MB / 0.5766 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002288/0.4169, allocations: 148 kB / 0.5768 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006667/0.4235, allocations: 2.083 MB / 0.5788 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006366/0.4242, allocations: 378.8 kB / 0.5792 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.4252, allocations: 0.8087 MB / 0.5799 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.4353, allocations: 4.062 MB / 0.5839 GB, free: 7.207 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4353, allocations: 0 / 0.5839 GB, free: 7.207 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4353, allocations: 3.938 kB / 0.5839 GB, free: 7.203 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.433e-05/0.4353, allocations: 0 / 0.5839 GB, free: 7.203 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.003659/0.439, allocations: 2.08 MB / 0.5859 GB, free: 5.082 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.439, allocations: 8.031 kB / 0.586 GB, free: 5.074 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002176/0.4392, allocations: 194.3 kB / 0.5861 GB, free: 4.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.4409, allocations: 439.1 kB / 0.5866 GB, free: 4.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.4428, allocations: 0.9881 MB / 0.5875 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.4429, allocations: 213.5 kB / 0.5877 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.4431, allocations: 128 kB / 0.5878 GB, free: 3.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/0.4458, allocations: 1.76 MB / 0.5896 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.4459, allocations: 4 kB / 0.5896 GB, free: 1.234 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.446, allocations: 48 kB / 0.5896 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.446, allocations: 39.98 kB / 0.5897 GB, free: 1.148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003526/0.4495, allocations: 2.338 MB / 0.5919 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008459/0.458, allocations: 5.52 MB / 0.5973 GB, free: 9.098 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.4593, allocations: 0.7047 MB / 0.598 GB, free: 8.371 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005648/0.4599, allocations: 332.4 kB / 0.5983 GB, free: 8.039 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006861/0.4668, allocations: 2.994 MB / 0.6013 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.4668, allocations: 34.56 kB / 0.6013 GB, free: 4.977 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.415e-06/0.4668, allocations: 3.938 kB / 0.6013 GB, free: 4.973 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001521/0.4683, allocations: 0.6543 MB / 0.6019 GB, free: 4.305 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/0.4684, allocations: 110.8 kB / 0.602 GB, free: 4.172 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/0.4701, allocations: 1.307 MB / 0.6033 GB, free: 2.855 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.4702, allocations: 29.7 kB / 0.6033 GB, free: 2.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000672/0.4708, allocations: 0.8607 MB / 0.6042 GB, free: 1.949 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.471, allocations: 151.1 kB / 0.6043 GB, free: 1.801 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003887/0.4714, allocations: 299.3 kB / 0.6046 GB, free: 1.504 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4715, allocations: 357.9 kB / 0.605 GB, free: 1.148 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/0.4721, allocations: 335.8 kB / 0.6053 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.4734, allocations: 1.156 MB / 0.6064 GB, free: 15.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/0.4753, allocations: 1.545 MB / 0.6079 GB, free: 13.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.153e-05/0.4753, allocations: 8 kB / 0.6079 GB, free: 13.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002773/0.4781, allocations: 1.555 MB / 0.6094 GB, free: 11.72 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.31e-05/0.4781, allocations: 27.92 kB / 0.6095 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.371e-05/0.4782, allocations: 28 kB / 0.6095 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007007/0.4789, allocations: 162 kB / 0.6096 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.48, allocations: 395.4 kB / 0.61 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003271/0.4833, allocations: 3.882 MB / 0.6138 GB, free: 6.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.4843, allocations: 190.8 kB / 0.614 GB, free: 6.762 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/0.4845, allocations: 99.98 kB / 0.6141 GB, free: 6.664 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.0005623/0.4851, allocations: 333 kB / 0.6144 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/0.4853, allocations: 127.1 kB / 0.6145 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/0.4872, allocations: 0.9358 MB / 0.6154 GB, free: 5.223 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/0.4872, allocations: 7.984 kB / 0.6155 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.4872, allocations: 0 / 0.6155 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4872, allocations: 0 / 0.6155 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.4897, allocations: 1.334 MB / 0.6168 GB, free: 3.793 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.4897, allocations: 8.031 kB / 0.6168 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.49, allocations: 59.91 kB / 0.6168 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007399/0.4907, allocations: 183 kB / 0.617 GB, free: 3.535 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.4907, allocations: 20 kB / 0.617 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00303/0.4938, allocations: 3.746 MB / 0.6207 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/0.4938, allocations: 7.938 kB / 0.6207 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.4951, allocations: 0.9044 MB / 0.6216 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.4955, allocations: 123.1 kB / 0.6217 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/0.4957, allocations: 19.89 kB / 0.6217 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/0.4961, allocations: 8 kB / 0.6217 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.336e-05/0.4962, allocations: 43.83 kB / 0.6217 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.4962, allocations: 20.05 kB / 0.6218 GB, free: 14.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001374/0.4976, allocations: 0.9664 MB / 0.6227 GB, free: 13.34 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4976, allocations: 0 / 0.6227 GB, free: 13.34 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002309/0.4999, allocations: 0.7046 MB / 0.6234 GB, free: 12.63 MB / 478.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.003415/0.5033, allocations: 2.215 MB / 0.6256 GB, free: 10.34 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001837/0.5052, allocations: 0.8263 MB / 0.6264 GB, free: 9.523 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5052, allocations: 1 kB / 0.6264 GB, free: 9.523 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005698/0.5057, allocations: 393.2 kB / 0.6267 GB, free: 9.113 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.507, allocations: 191.2 kB / 0.6269 GB, free: 8.934 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/0.5224, allocations: 10.47 MB / 0.6371 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008625/0.5233, allocations: 1.095 MB / 0.6382 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009271/0.5242, allocations: 318.3 kB / 0.6385 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007012/0.5249, allocations: 0.5344 MB / 0.639 GB, free: 11.48 MB / 494.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5249, allocations: 0 / 0.639 GB, free: 11.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08143/0.6063, allocations: 33.96 MB / 0.6722 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.91/25.52, allocations: 5.406 kB / 0.6722 GB, free: 9.691 MB / 0.5137 GB " [Timeout remaining time 634] (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: 28.209777081850916] Failed to read output from testmodel.py, exit status != 0: 25.65465952595696 25.679212694 25.240444972 Calling exit ...