Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.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.001493/0.001493, allocations: 109.1 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.001582/0.001582, allocations: 214.5 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1381/0.1381, allocations: 23.92 MB / 337.1 MB, free: 10.96 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.AcidBase.Phosphate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate") translateModel(Chemical.Obsolete.Examples.AcidBase.Phosphate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate") [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.002076/0.002076, allocations: 67.88 kB / 472.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3021, allocations: 59.88 MB / 0.5198 GB, free: 9.809 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.AcidBase.Phosphate): time 0.07116/0.3732, allocations: 28.54 MB / 0.5477 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03514/0.4084, allocations: 25.29 MB / 0.5724 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001826/0.4102, allocations: 31.75 kB / 0.5724 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.4119, allocations: 0.5155 MB / 0.5729 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007667/0.4196, allocations: 2.577 MB / 0.5755 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009458/0.429, allocations: 3.573 MB / 0.5789 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003959/0.433, allocations: 2.72 MB / 0.5816 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001953/0.4349, allocations: 1.372 MB / 0.5829 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/0.4368, allocations: 1.446 MB / 0.5844 GB, free: 7.605 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002554/0.4394, allocations: 1.651 MB / 0.586 GB, free: 5.949 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000504/0.4399, allocations: 252 kB / 0.5862 GB, free: 5.703 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007901/0.4478, allocations: 3.073 MB / 0.5892 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008107/0.4486, allocations: 0.6193 MB / 0.5898 GB, free: 2.004 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001381/0.45, allocations: 1.043 MB / 0.5908 GB, free: 0.957 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01192/0.4619, allocations: 6.109 MB / 0.5968 GB, free: 10.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4619, allocations: 4 kB / 0.5968 GB, free: 10.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4619, allocations: 0 / 0.5968 GB, free: 10.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.725e-05/0.4619, allocations: 0 / 0.5968 GB, free: 10.82 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.00634/0.4683, allocations: 2.931 MB / 0.5997 GB, free: 7.844 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.4683, allocations: 8.031 kB / 0.5997 GB, free: 7.836 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002259/0.4706, allocations: 478.8 kB / 0.6001 GB, free: 7.367 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/0.4727, allocations: 1.042 MB / 0.6011 GB, free: 6.297 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002796/0.473, allocations: 361.8 kB / 0.6015 GB, free: 5.895 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003664/0.4733, allocations: 184.3 kB / 0.6017 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004495/0.4778, allocations: 2.535 MB / 0.6041 GB, free: 3.145 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.695e-05/0.4779, allocations: 0 / 0.6041 GB, free: 3.145 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/0.4781, allocations: 76 kB / 0.6042 GB, free: 3.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/0.4781, allocations: 44 kB / 0.6043 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005333/0.4835, allocations: 3.176 MB / 0.6074 GB, free: 15.85 MB / 462.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.01389/0.4973, allocations: 6.905 MB / 0.6141 GB, free: 8.836 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009338/0.5067, allocations: 4.654 MB / 0.6186 GB, free: 4.168 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001992/0.5087, allocations: 1.153 MB / 0.6198 GB, free: 3.016 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01296/0.5216, allocations: 5.773 MB / 0.6254 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.5217, allocations: 47.88 kB / 0.6255 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001419/0.5231, allocations: 298.8 kB / 0.6257 GB, free: 12.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=158): time 5.981e-06/0.5231, allocations: 7.984 kB / 0.6257 GB, free: 12.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=187): time 0.03164/0.5547, allocations: 7.347 MB / 0.6329 GB, free: 5.461 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.5548, allocations: 73.41 kB / 0.633 GB, free: 5.379 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.556, allocations: 0.862 MB / 0.6338 GB, free: 4.496 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002478/0.5562, allocations: 57.64 kB / 0.6339 GB, free: 4.434 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006365/0.5569, allocations: 0.8363 MB / 0.6347 GB, free: 3.586 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006756/0.5575, allocations: 0.6661 MB / 0.6354 GB, free: 2.914 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006727/0.5582, allocations: 411.9 kB / 0.6357 GB, free: 2.504 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.5583, allocations: 305.1 kB / 0.636 GB, free: 2.203 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.5598, allocations: 0.7851 MB / 0.6368 GB, free: 1.414 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/0.5619, allocations: 1.379 MB / 0.6382 GB, free: 15.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003813/0.5657, allocations: 2.368 MB / 0.6405 GB, free: 13.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.5657, allocations: 4 kB / 0.6405 GB, free: 13.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.01294/0.5786, allocations: 3.376 MB / 0.6438 GB, free: 9.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.5787, allocations: 15.94 kB / 0.6438 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/0.5787, allocations: 16 kB / 0.6438 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004246/0.583, allocations: 0.8184 MB / 0.6446 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00199/0.5849, allocations: 0.5149 MB / 0.6451 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006044/0.591, allocations: 3.624 MB / 0.6486 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.5924, allocations: 63.98 kB / 0.6487 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002405/0.5927, allocations: 127.9 kB / 0.6488 GB, free: 4.359 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * 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 (268): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007829/0.5935, allocations: 401 kB / 0.6492 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003403/0.5938, allocations: 147.1 kB / 0.6493 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/0.6071, allocations: 3.318 MB / 0.6526 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/0.6071, allocations: 11.97 kB / 0.6526 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6071, allocations: 0 / 0.6526 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.6074, allocations: 130.9 kB / 0.6527 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/0.6076, allocations: 32 kB / 0.6528 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009751/0.6086, allocations: 39.98 kB / 0.6528 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004621/0.609, allocations: 213.5 kB / 0.653 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006335/0.6154, allocations: 2.406 MB / 0.6553 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005597/0.621, allocations: 3.332 MB / 0.6586 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001532/0.6225, allocations: 0.8589 MB / 0.6594 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007709/0.6233, allocations: 0.5293 MB / 0.66 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of Backend: time 4.81e-07/0.6233, allocations: 0 / 0.66 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0101/0.6334, allocations: 3.26 MB / 0.6631 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of SimCode: time 0.007946/0.6413, allocations: 3.469 MB / 0.6665 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of Templates: time 0.1266/0.7679, allocations: 55.95 MB / 0.7212 GB, free: 10.25 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.885453531009261] Failed to read output from testmodel.py, exit status != 0: 0.7778884559957078 0.966421151 0.5014683630000001 Calling exit ...