Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001791/0.001791, 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.002312/0.002312, allocations: 216 kB / 22.26 MB, free: 5.082 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1485/0.1485, allocations: 23.86 MB / 336.3 MB, free: 11.18 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,fileNamePrefix="Chemical_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.003255/0.003255, allocations: 75.88 kB / 471.2 MB, free: 7.684 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3801, allocations: 59.85 MB / 0.5186 GB, free: 9.59 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.04254/0.4226, allocations: 28.43 MB / 0.5463 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03097/0.4536, allocations: 21.74 MB / 0.5676 GB, free: 7.469 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.4553, allocations: 27.75 kB / 0.5676 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.4576, allocations: 0.5365 MB / 0.5681 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004224/0.4618, allocations: 1.01 MB / 0.5691 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01149/0.4733, allocations: 3.344 MB / 0.5724 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004301/0.4776, allocations: 1.809 MB / 0.5741 GB, free: 1.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.4791, allocations: 0.7589 MB / 0.5749 GB, free: 460 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.4809, allocations: 0.8024 MB / 0.5757 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/0.4828, allocations: 0.9029 MB / 0.5765 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003668/0.4831, allocations: 148 kB / 0.5767 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007358/0.4905, allocations: 2.09 MB / 0.5787 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006503/0.4912, allocations: 374.8 kB / 0.5791 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.4924, allocations: 0.8126 MB / 0.5799 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.5035, allocations: 4.058 MB / 0.5838 GB, free: 7.242 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5035, allocations: 0 / 0.5838 GB, free: 7.242 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5035, allocations: 0 / 0.5838 GB, free: 7.242 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.938e-05/0.5035, allocations: 4 kB / 0.5838 GB, free: 7.238 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.00373/0.5073, allocations: 2.076 MB / 0.5859 GB, free: 5.121 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.5073, allocations: 16.02 kB / 0.5859 GB, free: 5.105 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002311/0.5076, allocations: 186.3 kB / 0.5861 GB, free: 4.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/0.5094, allocations: 447.1 kB / 0.5865 GB, free: 4.477 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.5113, allocations: 0.9881 MB / 0.5875 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.5115, allocations: 209.5 kB / 0.5877 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002633/0.5118, allocations: 120 kB / 0.5878 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002956/0.5148, allocations: 1.772 MB / 0.5895 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.5148, allocations: 0 / 0.5895 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.5149, allocations: 52 kB / 0.5895 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/0.515, allocations: 32 kB / 0.5896 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003789/0.5187, allocations: 2.338 MB / 0.5919 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009627/0.5284, allocations: 5.524 MB / 0.5973 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.53, allocations: 0.6978 MB / 0.5979 GB, free: 8.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006187/0.5306, allocations: 344.4 kB / 0.5983 GB, free: 8.066 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007711/0.5383, allocations: 2.99 MB / 0.6012 GB, free: 5.051 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.5384, allocations: 30.56 kB / 0.6012 GB, free: 5.012 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 3.516e-06/0.5384, allocations: 4 kB / 0.6012 GB, free: 5.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001798/0.5402, allocations: 0.6504 MB / 0.6019 GB, free: 4.344 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/0.5403, allocations: 114.7 kB / 0.602 GB, free: 4.207 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.5422, allocations: 1.303 MB / 0.6032 GB, free: 2.895 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.998e-05/0.5423, allocations: 33.95 kB / 0.6033 GB, free: 2.855 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007526/0.543, allocations: 0.8607 MB / 0.6041 GB, free: 1.984 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.5432, allocations: 158.8 kB / 0.6043 GB, free: 1.828 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004424/0.5437, allocations: 291.3 kB / 0.6045 GB, free: 1.539 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.5439, allocations: 357.9 kB / 0.6049 GB, free: 1.184 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005739/0.5444, allocations: 339.8 kB / 0.6052 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.5457, allocations: 1.152 MB / 0.6063 GB, free: 15.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002096/0.5478, allocations: 1.545 MB / 0.6078 GB, free: 13.33 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.179e-05/0.5478, allocations: 8 kB / 0.6078 GB, free: 13.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002993/0.5508, allocations: 1.564 MB / 0.6094 GB, free: 11.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.5508, allocations: 19.94 kB / 0.6094 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-05/0.5509, allocations: 28.06 kB / 0.6094 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000756/0.5517, allocations: 161.3 kB / 0.6096 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.5529, allocations: 403.4 kB / 0.61 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003526/0.5564, allocations: 3.874 MB / 0.6137 GB, free: 6.984 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.5575, allocations: 186.6 kB / 0.6139 GB, free: 6.801 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002065/0.5578, allocations: 99.98 kB / 0.614 GB, free: 6.703 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.000836/0.5586, allocations: 333.2 kB / 0.6143 GB, free: 6.367 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004325/0.559, allocations: 119.2 kB / 0.6144 GB, free: 6.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.5611, allocations: 0.9451 MB / 0.6154 GB, free: 5.258 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.423e-06/0.5611, allocations: 4 kB / 0.6154 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.5611, allocations: 0 / 0.6154 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.5612, allocations: 4 kB / 0.6154 GB, free: 5.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/0.5638, allocations: 1.341 MB / 0.6167 GB, free: 3.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.5638, allocations: 4 kB / 0.6167 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.5641, allocations: 63.91 kB / 0.6168 GB, free: 3.754 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007689/0.5649, allocations: 171.5 kB / 0.6169 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/0.5649, allocations: 23.98 kB / 0.6169 GB, free: 3.551 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00324/0.5682, allocations: 3.734 MB / 0.6206 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-06/0.5682, allocations: 7.938 kB / 0.6206 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.5696, allocations: 0.9084 MB / 0.6215 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003271/0.57, allocations: 119 kB / 0.6216 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.5702, allocations: 15.95 kB / 0.6216 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004239/0.5706, allocations: 8 kB / 0.6216 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/0.5707, allocations: 47.88 kB / 0.6217 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.766e-05/0.5708, allocations: 23.94 kB / 0.6217 GB, free: 14.35 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001508/0.5723, allocations: 0.9625 MB / 0.6226 GB, free: 13.38 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5723, allocations: 0 / 0.6226 GB, free: 13.38 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00249/0.5748, allocations: 0.7046 MB / 0.6233 GB, free: 12.68 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.003755/0.5785, allocations: 2.219 MB / 0.6255 GB, free: 10.39 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002131/0.5806, allocations: 0.8272 MB / 0.6263 GB, free: 9.566 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.5806, allocations: 4.062 kB / 0.6263 GB, free: 9.562 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006208/0.5813, allocations: 389 kB / 0.6267 GB, free: 9.156 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.5827, allocations: 197.1 kB / 0.6268 GB, free: 8.977 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/0.6, allocations: 10.47 MB / 0.6371 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008731/0.6008, allocations: 1.099 MB / 0.6381 GB, free: 12.35 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009711/0.6018, allocations: 314.1 kB / 0.6384 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007362/0.6025, allocations: 0.5344 MB / 0.639 GB, free: 11.52 MB / 494.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6025, allocations: 0 / 0.639 GB, free: 11.52 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08786/0.6904, allocations: 33.96 MB / 0.6721 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.79/26.48, allocations: 7.562 kB / 0.6721 GB, free: 9.723 MB / 0.5137 GB " [Timeout remaining time 633] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell.fmu > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.381554471794516] Failed to read output from testmodel.py, exit status != 0: 26.62417558999732 26.652552641 26.143208704 Calling exit ...