Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001921/0.001921, 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.002347/0.002347, allocations: 216.3 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.1342/0.1342, allocations: 23.93 MB / 337.1 MB, free: 10.95 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.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002079/0.002079, allocations: 72.12 kB / 472.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2896, allocations: 59.88 MB / 0.5198 GB, free: 9.758 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.ClimateChange.ElectrochemicalAcetateProduction): time 0.07461/0.3642, allocations: 29.68 MB / 0.5488 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02974/0.3939, allocations: 21.98 MB / 0.5703 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.3957, allocations: 31.75 kB / 0.5703 GB, free: 6.113 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.3973, allocations: 0.5542 MB / 0.5709 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005183/0.4025, allocations: 1.847 MB / 0.5727 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00922/0.4117, allocations: 3.472 MB / 0.5761 GB, free: 208 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003972/0.4157, allocations: 2.707 MB / 0.5787 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.4175, allocations: 1.438 MB / 0.5801 GB, free: 12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.419, allocations: 1.274 MB / 0.5813 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.4208, allocations: 1.46 MB / 0.5828 GB, free: 9.254 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003757/0.4212, allocations: 260 kB / 0.583 GB, free: 9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00638/0.4275, allocations: 2.625 MB / 0.5856 GB, free: 6.371 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006116/0.4282, allocations: 0.6075 MB / 0.5862 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.4294, allocations: 1.074 MB / 0.5872 GB, free: 4.684 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.4397, allocations: 5.696 MB / 0.5928 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.4397, allocations: 7.922 kB / 0.5928 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.4397, allocations: 4 kB / 0.5928 GB, free: 14.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.954e-05/0.4398, allocations: 0 / 0.5928 GB, free: 14.95 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.005969/0.4457, allocations: 2.944 MB / 0.5957 GB, free: 11.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.4458, allocations: 12.03 kB / 0.5957 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002228/0.448, allocations: 0.5142 MB / 0.5962 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003102/0.4511, allocations: 1.231 MB / 0.5974 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003488/0.4514, allocations: 275.4 kB / 0.5977 GB, free: 9.863 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006219/0.4521, allocations: 216 kB / 0.5979 GB, free: 9.652 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007381/0.4594, allocations: 2.741 MB / 0.6005 GB, free: 6.793 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.679e-05/0.4595, allocations: 3.938 kB / 0.6005 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003744/0.4599, allocations: 88 kB / 0.6006 GB, free: 6.703 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.998e-05/0.46, allocations: 52 kB / 0.6007 GB, free: 6.652 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00834/0.4683, allocations: 3.16 MB / 0.6038 GB, free: 3.488 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.02187/0.4902, allocations: 7.744 MB / 0.6113 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003923/0.4941, allocations: 1.455 MB / 0.6127 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002274/0.4964, allocations: 0.8263 MB / 0.6136 GB, free: 9.258 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01561/0.512, allocations: 4.342 MB / 0.6178 GB, free: 4.883 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.059e-05/0.512, allocations: 51.5 kB / 0.6178 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001592/0.5136, allocations: 222.8 kB / 0.6181 GB, free: 4.605 MB / 462.1 MB Notification: Performance of pre-optimization done (n=113): time 5.411e-06/0.5136, allocations: 0 / 0.6181 GB, free: 4.605 MB / 462.1 MB Notification: Performance of matching and sorting (n=161): time 0.04775/0.5614, allocations: 9.314 MB / 0.6271 GB, free: 11.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.73e-05/0.5615, allocations: 120.1 kB / 0.6273 GB, free: 11.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.5632, allocations: 1.3 MB / 0.6285 GB, free: 9.781 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002131/0.5634, allocations: 61.64 kB / 0.6286 GB, free: 9.715 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008489/0.5642, allocations: 1.096 MB / 0.6297 GB, free: 8.605 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006154/0.5648, allocations: 0.585 MB / 0.6302 GB, free: 8.016 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007572/0.5656, allocations: 468.6 kB / 0.6307 GB, free: 7.551 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5657, allocations: 313.1 kB / 0.631 GB, free: 7.242 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/0.5673, allocations: 0.8481 MB / 0.6318 GB, free: 6.391 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00236/0.5696, allocations: 1.72 MB / 0.6335 GB, free: 4.266 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004048/0.5737, allocations: 2.701 MB / 0.6361 GB, free: 1.164 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-05/0.5737, allocations: 8 kB / 0.6361 GB, free: 1.156 MB / 478.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009739/0.5834, allocations: 3.469 MB / 0.6395 GB, free: 13.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.5835, allocations: 20 kB / 0.6395 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.287e-05/0.5835, allocations: 28 kB / 0.6396 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006077/0.5896, allocations: 1.17 MB / 0.6407 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/0.5916, allocations: 0.5109 MB / 0.6412 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/0.6029, allocations: 7.198 MB / 0.6482 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.6049, allocations: 103.9 kB / 0.6483 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002768/0.6052, allocations: 144 kB / 0.6485 GB, free: 4.152 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.0008688/0.606, allocations: 440.9 kB / 0.6489 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004117/0.6064, allocations: 166.8 kB / 0.6491 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008849/0.6153, allocations: 2.83 MB / 0.6518 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.661e-05/0.6153, allocations: 15.95 kB / 0.6518 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.6153, allocations: 3.938 kB / 0.6518 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.6156, allocations: 138.9 kB / 0.652 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002653/0.6159, allocations: 28 kB / 0.652 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.617, allocations: 39.98 kB / 0.652 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003348/0.6173, allocations: 157.7 kB / 0.6522 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007358/0.6247, allocations: 2.624 MB / 0.6547 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004979/0.6297, allocations: 2.994 MB / 0.6577 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001417/0.6311, allocations: 0.7144 MB / 0.6584 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001223/0.6323, allocations: 0.8228 MB / 0.6592 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of Backend: time 5.41e-07/0.6323, allocations: 0 / 0.6592 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008032/0.6404, allocations: 3.434 MB / 0.6625 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of SimCode: time 0.00594/0.6463, allocations: 4.114 MB / 0.6665 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of Templates: time 0.07943/0.7257, allocations: 51.77 MB / 0.7171 GB, free: 13.89 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrochemicalAcetateProduction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.845698858000105] Failed to read output from testmodel.py, exit status != 0: 0.7351089009898715 0.925726218 0.30683572000000003 Calling exit ...