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.001315/0.001315, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001433/0.001433, allocations: 181 kB / 23.36 MB, free: 1.133 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.8944/0.8944, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.08107/0.08107, allocations: 17.47 MB / 277.7 MB, free: 11.41 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: translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 300.7 MB, free: 1.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.318e-06/1.084e-05, allocations: 2.312 kB / 300.7 MB, free: 1.746 MB / 266.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.StandardElectrochemicalCell): time 0.02758/0.02759, allocations: 36.9 MB / 337.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01376/0.04135, allocations: 18.91 MB / 356.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005555/0.04191, allocations: 23.81 kB / 356.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008004/0.04271, allocations: 464.2 kB / 357 MB, free: 12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.04425, allocations: 0.9693 MB / 358 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004771/0.04902, allocations: 3.074 MB / 361.1 MB, free: 7.926 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.05041, allocations: 1.863 MB / 362.9 MB, free: 6.051 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006184/0.05103, allocations: 0.8061 MB / 363.7 MB, free: 5.215 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007955/0.05182, allocations: 1.189 MB / 364.9 MB, free: 4.023 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006787/0.0525, allocations: 0.7677 MB / 365.7 MB, free: 3.254 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.05266, allocations: 148 kB / 365.8 MB, free: 3.109 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002416/0.05508, allocations: 1.727 MB / 367.6 MB, free: 1.379 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002417/0.05532, allocations: 402.7 kB / 368 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000394/0.05571, allocations: 0.5769 MB / 368.5 MB, free: 416 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00294/0.05865, allocations: 3.416 MB / 371.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.05866, allocations: 0 / 371.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.05866, allocations: 0 / 371.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.05867, allocations: 0 / 371.9 MB, free: 12.98 MB / 346.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.001674/0.06034, allocations: 1.992 MB / 373.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.06037, allocations: 12.02 kB / 374 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.0614, allocations: 0.6542 MB / 374.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007563/0.06215, allocations: 0.6963 MB / 375.3 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.06226, allocations: 201.9 kB / 375.5 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.06238, allocations: 124.4 kB / 375.6 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.0634, allocations: 1.237 MB / 376.9 MB, free: 7.902 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.06342, allocations: 7.875 kB / 376.9 MB, free: 7.895 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.219e-05/0.0635, allocations: 52 kB / 376.9 MB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.06352, allocations: 32 kB / 376.9 MB, free: 7.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.06457, allocations: 1.125 MB / 378.1 MB, free: 6.684 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003584/0.06816, allocations: 3.959 MB / 382 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.06868, allocations: 0.5069 MB / 382.5 MB, free: 2.098 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.06887, allocations: 164.4 kB / 382.7 MB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003066/0.07193, allocations: 2.582 MB / 385.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.07196, allocations: 46.48 kB / 385.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/0.07196, allocations: 0 / 385.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=37): time 0.0005365/0.0725, allocations: 378.8 kB / 385.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.07254, allocations: 106.8 kB / 385.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005935/0.07313, allocations: 0.9956 MB / 386.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.07316, allocations: 33.7 kB / 386.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.07346, allocations: 0.7647 MB / 387.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/0.07355, allocations: 162.7 kB / 387.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.07375, allocations: 287.3 kB / 388 MB, free: 12.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.07385, allocations: 362 kB / 388.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.074, allocations: 126.8 kB / 388.5 MB, free: 12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.07447, allocations: 0.9486 MB / 389.5 MB, free: 10.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008033/0.07527, allocations: 1.248 MB / 390.7 MB, free: 8.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.07528, allocations: 8 kB / 390.7 MB, free: 8.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001068/0.07635, allocations: 0.9583 MB / 391.7 MB, free: 8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.07637, allocations: 16.94 kB / 391.7 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.07638, allocations: 32 kB / 391.7 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002903/0.07667, allocations: 161.3 kB / 391.9 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005698/0.07724, allocations: 395.3 kB / 392.3 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.0787, allocations: 3.622 MB / 395.9 MB, free: 3.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004092/0.07911, allocations: 178.8 kB / 396.1 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.901e-05/0.07919, allocations: 91.98 kB / 396.1 MB, free: 3.285 MB / 362.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.000193/0.07938, allocations: 219.9 kB / 396.4 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.748e-05/0.07947, allocations: 67.88 kB / 396.4 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.08057, allocations: 0.8167 MB / 397.2 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.08058, allocations: 4 kB / 397.3 MB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.08058, allocations: 0 / 397.3 MB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.08058, allocations: 11.92 kB / 397.3 MB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008771/0.08146, allocations: 0.9975 MB / 398.3 MB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.08146, allocations: 4 kB / 398.3 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.08158, allocations: 59.91 kB / 398.3 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005945/0.08218, allocations: 171.5 kB / 398.5 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.08219, allocations: 15.98 kB / 398.5 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.08348, allocations: 3.464 MB / 402 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.08349, allocations: 8.25 kB / 402 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/0.08395, allocations: 0.6687 MB / 402.6 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.08403, allocations: 95.17 kB / 402.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.073e-05/0.0841, allocations: 15.98 kB / 402.8 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.08428, allocations: 8 kB / 402.8 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.08432, allocations: 39.92 kB / 402.8 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.08434, allocations: 16 kB / 402.8 MB, free: 12.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003416/0.08468, allocations: 0.4965 MB / 403.3 MB, free: 11.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08468, allocations: 3.938 kB / 403.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001052/0.08573, allocations: 0.6733 MB / 404 MB, free: 10.99 MB / 378.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.001236/0.08697, allocations: 0.7908 MB / 404.8 MB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006158/0.08758, allocations: 0.5869 MB / 405.4 MB, free: 9.609 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.573e-05/0.08761, allocations: 22 kB / 405.4 MB, free: 9.586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.08783, allocations: 349.2 kB / 405.7 MB, free: 9.219 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005622/0.08839, allocations: 185 kB / 405.9 MB, free: 9.035 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.09035, allocations: 1.83 MB / 407.7 MB, free: 7.129 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.09047, allocations: 203.9 kB / 407.9 MB, free: 6.906 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004485/0.09092, allocations: 266.8 kB / 408.2 MB, free: 6.656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003211/0.09124, allocations: 297.2 kB / 408.5 MB, free: 6.367 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.09124, allocations: 0 / 408.5 MB, free: 6.367 MB / 378.7 MB Notification: Performance of Templates: time 0.02278/0.114, allocations: 22.63 MB / 431.1 MB, free: 15.84 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.103186238091439]