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.001336/0.001336, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001465/0.001465, allocations: 217.1 kB / 23.03 MB, free: 4.922 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1432/0.1432, allocations: 23.91 MB / 337.1 MB, free: 11.02 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell",fmuType="cs",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.001991/0.001991, allocations: 67.91 kB / 471.9 MB, free: 7.465 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3848, allocations: 59.87 MB / 0.5193 GB, free: 9.504 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.0752/0.46, allocations: 27.33 MB / 0.546 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02781/0.4878, allocations: 19.01 MB / 0.5646 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/0.4896, allocations: 27.75 kB / 0.5646 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.4913, allocations: 0.4933 MB / 0.5651 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003851/0.4952, allocations: 0.9559 MB / 0.566 GB, free: 9.797 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01206/0.5072, allocations: 3.344 MB / 0.5693 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004058/0.5113, allocations: 1.809 MB / 0.5711 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.5125, allocations: 0.7549 MB / 0.5718 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.5135, allocations: 0.8064 MB / 0.5726 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.5148, allocations: 0.8951 MB / 0.5735 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.5151, allocations: 148 kB / 0.5736 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006354/0.5214, allocations: 2.009 MB / 0.5756 GB, free: 212 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006754/0.5221, allocations: 390.7 kB / 0.576 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009943/0.5231, allocations: 0.6652 MB / 0.5766 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.5332, allocations: 4.054 MB / 0.5806 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5332, allocations: 0 / 0.5806 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5332, allocations: 4 kB / 0.5806 GB, free: 11.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.956e-05/0.5333, allocations: 0 / 0.5806 GB, free: 11.08 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.004083/0.5374, allocations: 2.064 MB / 0.5826 GB, free: 8.977 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.5374, allocations: 12.03 kB / 0.5826 GB, free: 8.965 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.404e-05/0.5375, allocations: 38.67 kB / 0.5826 GB, free: 8.926 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002327/0.5377, allocations: 182.3 kB / 0.5828 GB, free: 8.738 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002123/0.5398, allocations: 451.1 kB / 0.5832 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002182/0.542, allocations: 0.9958 MB / 0.5842 GB, free: 7.273 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/0.5422, allocations: 205.3 kB / 0.5844 GB, free: 7.047 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002429/0.5424, allocations: 124 kB / 0.5845 GB, free: 6.926 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003079/0.5455, allocations: 1.76 MB / 0.5862 GB, free: 5.094 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.5456, allocations: 7.938 kB / 0.5862 GB, free: 5.086 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/0.5457, allocations: 52 kB / 0.5863 GB, free: 5.035 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/0.5457, allocations: 32 kB / 0.5863 GB, free: 5.004 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003737/0.5495, allocations: 2.331 MB / 0.5886 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008797/0.5583, allocations: 4.988 MB / 0.5935 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.5597, allocations: 0.69 MB / 0.5941 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007393/0.5605, allocations: 344.2 kB / 0.5945 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00771/0.5682, allocations: 2.862 MB / 0.5973 GB, free: 9.609 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/0.5682, allocations: 38.56 kB / 0.5973 GB, free: 9.562 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.806e-06/0.5682, allocations: 0 / 0.5973 GB, free: 9.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001671/0.5699, allocations: 0.662 MB / 0.598 GB, free: 8.887 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.655e-05/0.57, allocations: 110.8 kB / 0.5981 GB, free: 8.754 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.5717, allocations: 1.291 MB / 0.5993 GB, free: 7.453 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/0.5717, allocations: 37.7 kB / 0.5994 GB, free: 7.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008818/0.5726, allocations: 0.8607 MB / 0.6002 GB, free: 6.539 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.5728, allocations: 154.8 kB / 0.6003 GB, free: 6.387 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004269/0.5732, allocations: 299.3 kB / 0.6006 GB, free: 6.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.5734, allocations: 357.9 kB / 0.601 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006132/0.574, allocations: 344 kB / 0.6013 GB, free: 5.398 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.5755, allocations: 1.156 MB / 0.6024 GB, free: 3.832 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/0.5777, allocations: 1.533 MB / 0.6039 GB, free: 1.891 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/0.5778, allocations: 8 kB / 0.6039 GB, free: 1.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002989/0.5807, allocations: 1.567 MB / 0.6055 GB, free: 312 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.5808, allocations: 19.94 kB / 0.6055 GB, free: 292 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.661e-05/0.5808, allocations: 28.09 kB / 0.6055 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007986/0.5816, allocations: 166.2 kB / 0.6057 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.5828, allocations: 399.3 kB / 0.606 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004068/0.5869, allocations: 3.878 MB / 0.6098 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.5881, allocations: 186.6 kB / 0.61 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.5883, allocations: 99.98 kB / 0.6101 GB, free: 11.25 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.0005631/0.5889, allocations: 337.2 kB / 0.6104 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.5891, allocations: 119.2 kB / 0.6105 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/0.5912, allocations: 0.9474 MB / 0.6115 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5912, allocations: 0 / 0.6115 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5912, allocations: 4 kB / 0.6115 GB, free: 9.801 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.5912, allocations: 0 / 0.6115 GB, free: 9.801 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002362/0.5936, allocations: 1.283 MB / 0.6127 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.5936, allocations: 4 kB / 0.6127 GB, free: 8.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.5938, allocations: 59.91 kB / 0.6128 GB, free: 8.367 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008729/0.5947, allocations: 175.5 kB / 0.613 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.5947, allocations: 12 kB / 0.613 GB, free: 8.172 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003311/0.598, allocations: 3.738 MB / 0.6166 GB, free: 4.145 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.598, allocations: 4 kB / 0.6166 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.5995, allocations: 0.9095 MB / 0.6175 GB, free: 3.176 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003436/0.5999, allocations: 119.1 kB / 0.6176 GB, free: 3.059 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.6, allocations: 19.88 kB / 0.6176 GB, free: 3.039 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.6004, allocations: 8 kB / 0.6176 GB, free: 3.031 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/0.6005, allocations: 43.83 kB / 0.6177 GB, free: 2.988 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.6005, allocations: 23.98 kB / 0.6177 GB, free: 2.965 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001411/0.6019, allocations: 0.9625 MB / 0.6186 GB, free: 2 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6019, allocations: 0 / 0.6186 GB, free: 2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002448/0.6044, allocations: 0.7046 MB / 0.6193 GB, free: 1.293 MB / 462.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.003499/0.6079, allocations: 2.208 MB / 0.6215 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.6098, allocations: 0.8307 MB / 0.6223 GB, free: 14.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.6099, allocations: 7.938 kB / 0.6223 GB, free: 14.19 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006012/0.6105, allocations: 382.1 kB / 0.6227 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.6117, allocations: 207.1 kB / 0.6229 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/0.6272, allocations: 10.47 MB / 0.6331 GB, free: 2.09 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005686/0.6277, allocations: 0.5035 MB / 0.6336 GB, free: 1.551 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009209/0.6287, allocations: 304.1 kB / 0.6339 GB, free: 1.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007417/0.6294, allocations: 0.5383 MB / 0.6344 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of SimCode: time 1.623e-06/0.6294, allocations: 0 / 0.6344 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/0.7339, allocations: 34.15 MB / 0.6678 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.72/26.45, allocations: 11.92 kB / 0.6678 GB, free: 14.86 MB / 0.5137 GB " [Timeout remaining time 633] (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: 29.413791778031737] Failed to read output from testmodel.py, exit status != 0: 26.648989335051738 26.676244 26.137885518 Calling exit ...