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.001744/0.001744, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002148/0.002148, allocations: 205.7 kB / 23 MB, free: 4.934 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.1455/0.1455, allocations: 23.93 MB / 337.1 MB, free: 11.02 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: 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: 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.002105/0.002105, allocations: 75.88 kB / 472.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3036, allocations: 59.87 MB / 0.5198 GB, free: 9.695 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.07339/0.377, allocations: 27.55 MB / 0.5467 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02634/0.4033, allocations: 19.03 MB / 0.5653 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.4048, allocations: 27.75 kB / 0.5654 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.4063, allocations: 489.5 kB / 0.5658 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003302/0.4096, allocations: 0.9672 MB / 0.5668 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009747/0.4194, allocations: 3.343 MB / 0.57 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003001/0.4224, allocations: 1.806 MB / 0.5718 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.4235, allocations: 0.7666 MB / 0.5725 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000996/0.4245, allocations: 0.8102 MB / 0.5733 GB, free: 3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.4257, allocations: 0.8951 MB / 0.5742 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002547/0.426, allocations: 148 kB / 0.5743 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005472/0.4314, allocations: 2.005 MB / 0.5763 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005012/0.4319, allocations: 386.7 kB / 0.5767 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009236/0.4329, allocations: 0.6652 MB / 0.5773 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008612/0.4415, allocations: 4.062 MB / 0.5813 GB, free: 10.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.4415, allocations: 4 kB / 0.5813 GB, free: 10.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4415, allocations: 0 / 0.5813 GB, free: 10.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.161e-05/0.4415, allocations: 0 / 0.5813 GB, free: 10.82 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.003906/0.4454, allocations: 2.064 MB / 0.5833 GB, free: 8.715 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4455, allocations: 8.031 kB / 0.5833 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.4474, allocations: 443.1 kB / 0.5837 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.4494, allocations: 0.9959 MB / 0.5847 GB, free: 7.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.4496, allocations: 201.7 kB / 0.5849 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000318/0.4499, allocations: 124 kB / 0.585 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003553/0.4534, allocations: 1.764 MB / 0.5867 GB, free: 5.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/0.4535, allocations: 11.94 kB / 0.5868 GB, free: 5.059 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.4536, allocations: 52 kB / 0.5868 GB, free: 5.008 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.4537, allocations: 32 kB / 0.5868 GB, free: 4.977 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003747/0.4574, allocations: 2.311 MB / 0.5891 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008552/0.466, allocations: 4.81 MB / 0.5938 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.4674, allocations: 0.7041 MB / 0.5945 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000627/0.468, allocations: 336.3 kB / 0.5948 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007552/0.4756, allocations: 2.849 MB / 0.5976 GB, free: 9.801 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.4756, allocations: 42.55 kB / 0.5976 GB, free: 9.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.495e-06/0.4756, allocations: 0 / 0.5976 GB, free: 9.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001612/0.4772, allocations: 0.6388 MB / 0.5982 GB, free: 9.098 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.4773, allocations: 106.8 kB / 0.5983 GB, free: 8.969 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.4789, allocations: 1.245 MB / 0.5996 GB, free: 7.707 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.875e-05/0.4789, allocations: 33.7 kB / 0.5996 GB, free: 7.668 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006913/0.4796, allocations: 0.8684 MB / 0.6004 GB, free: 6.789 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.4798, allocations: 146.8 kB / 0.6006 GB, free: 6.645 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003986/0.4802, allocations: 303.3 kB / 0.6009 GB, free: 6.344 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.4804, allocations: 357.9 kB / 0.6012 GB, free: 5.988 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00058/0.481, allocations: 340.1 kB / 0.6015 GB, free: 5.656 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.4823, allocations: 1.159 MB / 0.6027 GB, free: 4.086 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002011/0.4843, allocations: 1.541 MB / 0.6042 GB, free: 2.137 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/0.4843, allocations: 8 kB / 0.6042 GB, free: 2.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002684/0.487, allocations: 1.559 MB / 0.6057 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.487, allocations: 19.98 kB / 0.6057 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.333e-05/0.4871, allocations: 28 kB / 0.6057 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006526/0.4877, allocations: 154.2 kB / 0.6059 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.489, allocations: 399.4 kB / 0.6063 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003409/0.4924, allocations: 3.841 MB / 0.61 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009873/0.4934, allocations: 182.7 kB / 0.6102 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.4935, allocations: 96 kB / 0.6103 GB, free: 11.59 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.0005306/0.4941, allocations: 333.2 kB / 0.6106 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/0.4943, allocations: 111.2 kB / 0.6107 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.4963, allocations: 0.9434 MB / 0.6116 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4963, allocations: 0 / 0.6116 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4963, allocations: 0 / 0.6116 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.4965, allocations: 95.22 kB / 0.6117 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.4966, allocations: 11.94 kB / 0.6117 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.497, allocations: 8 kB / 0.6117 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.497, allocations: 27.95 kB / 0.6118 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001048/0.4981, allocations: 0.5885 MB / 0.6124 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009725/0.499, allocations: 0.7786 MB / 0.6131 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001865/0.4992, allocations: 91.97 kB / 0.6132 GB, free: 8.516 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00119/0.5004, allocations: 0.873 MB / 0.6141 GB, free: 7.637 MB / 462.1 MB Notification: Performance of Backend: time 2.91e-07/0.5004, allocations: 4.062 kB / 0.6141 GB, free: 7.633 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004992/0.5054, allocations: 1.94 MB / 0.6159 GB, free: 5.691 MB / 462.1 MB Notification: Performance of SimCode: time 0.004071/0.5095, allocations: 2.619 MB / 0.6185 GB, free: 3.02 MB / 462.1 MB Notification: Performance of Templates: time 0.0476/0.5571, allocations: 30.05 MB / 0.6479 GB, free: 5.094 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.765036283002701] Failed to read output from testmodel.py, exit status != 0: 0.5658784280094551 0.580147706 0.135427609 Calling exit ...