Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.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.001304/0.001304, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001431/0.001431, allocations: 216.9 kB / 23 MB, free: 4.969 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.1312/0.1312, allocations: 23.89 MB / 337.1 MB, free: 10.99 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: translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") [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.002068/0.002068, allocations: 63.91 kB / 472.4 MB, free: 7.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2882, allocations: 59.86 MB / 0.5198 GB, free: 9.816 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.ClimateChange.ElectrochemicalAcetateProduction): time 0.07486/0.3631, allocations: 29.69 MB / 0.5488 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03071/0.3938, allocations: 21.97 MB / 0.5702 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.3956, allocations: 35.75 kB / 0.5703 GB, free: 6.156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.3973, allocations: 0.5542 MB / 0.5708 GB, free: 5.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005781/0.4031, allocations: 1.847 MB / 0.5726 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0102/0.4133, allocations: 3.476 MB / 0.576 GB, free: 248 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004058/0.4174, allocations: 2.699 MB / 0.5786 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.4192, allocations: 1.442 MB / 0.58 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.4207, allocations: 1.278 MB / 0.5813 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001856/0.4225, allocations: 1.452 MB / 0.5827 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003975/0.4229, allocations: 264 kB / 0.583 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006821/0.4298, allocations: 2.625 MB / 0.5855 GB, free: 6.414 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006147/0.4304, allocations: 0.6115 MB / 0.5861 GB, free: 5.801 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.4315, allocations: 1.074 MB / 0.5872 GB, free: 4.723 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009561/0.4411, allocations: 5.696 MB / 0.5927 GB, free: 15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.4411, allocations: 0 / 0.5927 GB, free: 15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4411, allocations: 4 kB / 0.5927 GB, free: 15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.472e-05/0.4411, allocations: 0 / 0.5927 GB, free: 15 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 548 * Number of variables: 548 Notification: Performance of Generate backend data structure: time 0.005765/0.4469, allocations: 2.948 MB / 0.5956 GB, free: 12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.4469, allocations: 8.031 kB / 0.5956 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/0.4491, allocations: 0.5219 MB / 0.5961 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/0.4514, allocations: 1.223 MB / 0.5973 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002384/0.4517, allocations: 279.4 kB / 0.5976 GB, free: 9.906 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003856/0.4521, allocations: 223.9 kB / 0.5978 GB, free: 9.688 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004544/0.4566, allocations: 2.737 MB / 0.6005 GB, free: 6.832 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.948e-05/0.4567, allocations: 4 kB / 0.6005 GB, free: 6.828 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002431/0.4569, allocations: 92 kB / 0.6006 GB, free: 6.738 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.811e-05/0.457, allocations: 52 kB / 0.6006 GB, free: 6.688 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005098/0.4621, allocations: 3.156 MB / 0.6037 GB, free: 3.527 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01362/0.4757, allocations: 7.729 MB / 0.6112 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002536/0.4782, allocations: 1.467 MB / 0.6127 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.4796, allocations: 0.8302 MB / 0.6135 GB, free: 9.297 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009833/0.4894, allocations: 4.338 MB / 0.6177 GB, free: 4.926 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.4895, allocations: 55.42 kB / 0.6178 GB, free: 4.863 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009799/0.4904, allocations: 222.8 kB / 0.618 GB, free: 4.645 MB / 462.1 MB Notification: Performance of pre-optimization done (n=113): time 3.105e-06/0.4904, allocations: 0 / 0.618 GB, free: 4.645 MB / 462.1 MB Notification: Performance of matching and sorting (n=161): time 0.03991/0.5303, allocations: 9.31 MB / 0.6271 GB, free: 11.28 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/0.5304, allocations: 120.1 kB / 0.6272 GB, free: 11.14 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.5321, allocations: 1.312 MB / 0.6285 GB, free: 9.812 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.5322, allocations: 57.77 kB / 0.6285 GB, free: 9.75 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008784/0.5331, allocations: 1.092 MB / 0.6296 GB, free: 8.645 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006058/0.5337, allocations: 0.585 MB / 0.6302 GB, free: 8.055 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007596/0.5345, allocations: 472.6 kB / 0.6306 GB, free: 7.586 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5346, allocations: 305.1 kB / 0.6309 GB, free: 7.285 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.5362, allocations: 0.8559 MB / 0.6317 GB, free: 6.426 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002413/0.5386, allocations: 1.712 MB / 0.6334 GB, free: 4.309 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004117/0.5427, allocations: 2.709 MB / 0.6361 GB, free: 1.199 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-05/0.5427, allocations: 8 kB / 0.6361 GB, free: 1.191 MB / 478.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009747/0.5525, allocations: 3.468 MB / 0.6395 GB, free: 13.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.5525, allocations: 16 kB / 0.6395 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.083e-05/0.5525, allocations: 28 kB / 0.6395 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006134/0.5587, allocations: 1.174 MB / 0.6406 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/0.5607, allocations: 0.507 MB / 0.6411 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.5719, allocations: 7.192 MB / 0.6482 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.5738, allocations: 111.8 kB / 0.6483 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/0.574, allocations: 144 kB / 0.6484 GB, free: 4.188 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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 (270): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,20), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008711/0.5749, allocations: 444.9 kB / 0.6488 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003884/0.5753, allocations: 163 kB / 0.649 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008812/0.5841, allocations: 2.826 MB / 0.6517 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.062e-05/0.5841, allocations: 11.97 kB / 0.6518 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.5841, allocations: 3.938 kB / 0.6518 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000291/0.5844, allocations: 138.9 kB / 0.6519 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/0.5846, allocations: 36 kB / 0.6519 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.5857, allocations: 35.98 kB / 0.652 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003255/0.586, allocations: 153.7 kB / 0.6521 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007161/0.5932, allocations: 2.621 MB / 0.6547 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00479/0.598, allocations: 2.998 MB / 0.6576 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001227/0.5992, allocations: 0.7183 MB / 0.6583 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001084/0.6003, allocations: 0.8228 MB / 0.6591 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of Backend: time 1.81e-07/0.6003, allocations: 0 / 0.6591 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00776/0.608, allocations: 3.434 MB / 0.6625 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of SimCode: time 0.005764/0.6138, allocations: 4.114 MB / 0.6665 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of Templates: time 0.07672/0.6905, allocations: 51.76 MB / 0.717 GB, free: 13.93 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.sim & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.595795432003797] Failed to read output from testmodel.py, exit status != 0: 0.6987191520020133 0.877843497 0.26830107799999997 Calling exit ...