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.0009183/0.0009183, 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.001/0.001, 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.9025/0.9025, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.08445/0.08445, allocations: 17.37 MB / 276.6 MB, free: 11.84 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 411.4 MB, free: 13.42 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/1.987e-05, allocations: 2.984 kB / 411.4 MB, free: 13.42 MB / 330.7 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.02408/0.0241, allocations: 27.97 MB / 439.4 MB, free: 12.97 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01627/0.04037, allocations: 19.01 MB / 458.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.04166, allocations: 27.75 kB / 458.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.04272, allocations: 496 kB / 458.9 MB, free: 11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.04499, allocations: 1.008 MB / 459.9 MB, free: 9.988 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006848/0.05183, allocations: 3.442 MB / 463.4 MB, free: 6.523 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002064/0.0539, allocations: 1.871 MB / 465.3 MB, free: 4.645 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008128/0.05471, allocations: 0.7511 MB / 466 MB, free: 3.875 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008771/0.05559, allocations: 1.135 MB / 467.1 MB, free: 2.738 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006952/0.05628, allocations: 0.7092 MB / 467.9 MB, free: 2.027 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.05644, allocations: 155.9 kB / 468 MB, free: 1.875 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004032/0.06047, allocations: 1.969 MB / 470 MB, free: 15.9 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000244/0.06071, allocations: 394.6 kB / 470.4 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000484/0.06119, allocations: 0.5613 MB / 470.9 MB, free: 14.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006472/0.06767, allocations: 4.277 MB / 475.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.06767, allocations: 0 / 475.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.06767, allocations: 0 / 475.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.49e-05/0.06772, allocations: 0 / 475.2 MB, free: 10.66 MB / 378.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.002753/0.07047, allocations: 2.052 MB / 477.2 MB, free: 8.566 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.07053, allocations: 12.03 kB / 477.3 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001499/0.07068, allocations: 186.3 kB / 477.4 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009956/0.07167, allocations: 447 kB / 477.9 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.07284, allocations: 0.9989 MB / 478.9 MB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.073, allocations: 205.9 kB / 479.1 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.07314, allocations: 124.4 kB / 479.2 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.07492, allocations: 1.768 MB / 481 MB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.07494, allocations: 0 / 481 MB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.718e-05/0.07503, allocations: 52 kB / 481 MB, free: 4.652 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.07505, allocations: 32 kB / 481 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002363/0.07741, allocations: 2.319 MB / 483.4 MB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005808/0.08322, allocations: 4.954 MB / 488.3 MB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008935/0.08411, allocations: 0.6977 MB / 489 MB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.08448, allocations: 336.4 kB / 489.3 MB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003834/0.08832, allocations: 2.87 MB / 492.2 MB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.08834, allocations: 38.5 kB / 492.3 MB, free: 9.227 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 2.485e-06/0.08834, allocations: 0 / 492.3 MB, free: 9.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.0009728/0.08931, allocations: 0.6428 MB / 492.9 MB, free: 8.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.08936, allocations: 115 kB / 493 MB, free: 8.434 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009957/0.09036, allocations: 1.353 MB / 494.4 MB, free: 7.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.09038, allocations: 29.7 kB / 494.4 MB, free: 7.035 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003757/0.09076, allocations: 0.853 MB / 495.2 MB, free: 6.172 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.205e-05/0.09085, allocations: 154.8 kB / 495.4 MB, free: 6.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.09108, allocations: 287.3 kB / 495.7 MB, free: 5.734 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.09118, allocations: 365.8 kB / 496 MB, free: 5.371 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.09152, allocations: 339.8 kB / 496.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007676/0.09229, allocations: 1.156 MB / 497.5 MB, free: 3.473 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.09334, allocations: 1.541 MB / 499.1 MB, free: 1.523 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.09335, allocations: 12 kB / 499.1 MB, free: 1.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001523/0.09487, allocations: 1.56 MB / 0.4889 GB, free: 15.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.0949, allocations: 20 kB / 0.4889 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.09492, allocations: 28 kB / 0.4889 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004168/0.09534, allocations: 161.3 kB / 0.4891 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.09593, allocations: 403.7 kB / 0.4895 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.09791, allocations: 3.858 MB / 0.4933 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006148/0.09852, allocations: 195 kB / 0.4934 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.371e-05/0.0986, allocations: 104 kB / 0.4935 GB, free: 10.89 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.0003864/0.09899, allocations: 333 kB / 0.4939 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.0991, allocations: 115.2 kB / 0.494 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.1002, allocations: 0.9492 MB / 0.4949 GB, free: 9.453 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1002, allocations: 4 kB / 0.4949 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.1002, allocations: 0 / 0.4949 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.1002, allocations: 11.98 kB / 0.4949 GB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.1016, allocations: 1.275 MB / 0.4962 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1016, allocations: 4 kB / 0.4962 GB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.1017, allocations: 60.19 kB / 0.4962 GB, free: 8.016 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003988/0.1021, allocations: 179 kB / 0.4964 GB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.1021, allocations: 15.98 kB / 0.4964 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.104, allocations: 3.738 MB / 0.5001 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.104, allocations: 4 kB / 0.5001 GB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000761/0.1047, allocations: 0.9041 MB / 0.5009 GB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.1049, allocations: 111.1 kB / 0.501 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.946e-05/0.1049, allocations: 19.94 kB / 0.5011 GB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.1051, allocations: 12.16 kB / 0.5011 GB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.1052, allocations: 47.81 kB / 0.5011 GB, free: 2.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.1052, allocations: 16 kB / 0.5011 GB, free: 2.617 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000772/0.106, allocations: 0.9625 MB / 0.5021 GB, free: 1.652 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.106, allocations: 0 / 0.5021 GB, free: 1.652 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001572/0.1076, allocations: 0.7085 MB / 0.5028 GB, free: 0.9414 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.002061/0.1096, allocations: 2.231 MB / 0.5049 GB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.1108, allocations: 0.8339 MB / 0.5058 GB, free: 13.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1108, allocations: 0 / 0.5058 GB, free: 13.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.1112, allocations: 386.8 kB / 0.5061 GB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009609/0.1121, allocations: 188 kB / 0.5063 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009126/0.1212, allocations: 10.35 MB / 0.5164 GB, free: 1.844 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.1216, allocations: 0.5074 MB / 0.5169 GB, free: 1.301 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006442/0.1222, allocations: 318.2 kB / 0.5172 GB, free: 1.008 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004362/0.1227, allocations: 0.5315 MB / 0.5177 GB, free: 488 kB / 426.7 MB Notification: Performance of SimCode: time 1.493e-06/0.1227, allocations: 3.938 kB / 0.5177 GB, free: 484 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05002/0.1727, allocations: 34.37 MB / 0.5513 GB, free: 14.34 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.726/8.898, allocations: 6.953 kB / 0.5513 GB, free: 14.34 MB / 474.7 MB " [Timeout remaining time 651] (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: 10.908938854001462] Failed to read output from testmodel.py, exit status != 0: 9.158300560899079 9.01673057 8.947106758 Calling exit ...