Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001365/0.001365, 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.001489/0.001489, allocations: 209.2 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1341/0.1341, allocations: 23.88 MB / 337.1 MB, free: 10.98 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.AcidBase.Phosphate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate") translateModel(Chemical.Obsolete.Examples.AcidBase.Phosphate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.00204/0.00204, allocations: 67.89 kB / 472.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2907, allocations: 59.87 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.AcidBase.Phosphate): time 0.07478/0.3655, allocations: 28.53 MB / 0.5476 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03629/0.4018, allocations: 25.29 MB / 0.5723 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.4032, allocations: 39.69 kB / 0.5724 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.4048, allocations: 0.5194 MB / 0.5729 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007764/0.4125, allocations: 2.569 MB / 0.5754 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01002/0.4226, allocations: 3.57 MB / 0.5789 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004139/0.4267, allocations: 2.724 MB / 0.5815 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.4285, allocations: 1.372 MB / 0.5829 GB, free: 9.129 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.4303, allocations: 1.45 MB / 0.5843 GB, free: 7.676 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002517/0.4329, allocations: 1.651 MB / 0.5859 GB, free: 6.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00048/0.4333, allocations: 248 kB / 0.5861 GB, free: 5.777 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007718/0.4411, allocations: 3.073 MB / 0.5891 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007326/0.4418, allocations: 0.6193 MB / 0.5897 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.4431, allocations: 1.043 MB / 0.5908 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.4557, allocations: 6.109 MB / 0.5967 GB, free: 10.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4557, allocations: 7.938 kB / 0.5967 GB, free: 10.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4557, allocations: 0 / 0.5967 GB, free: 10.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.735e-05/0.4557, allocations: 0 / 0.5967 GB, free: 10.89 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.006522/0.4622, allocations: 2.923 MB / 0.5996 GB, free: 7.922 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.4623, allocations: 8.031 kB / 0.5996 GB, free: 7.914 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/0.4645, allocations: 482.6 kB / 0.6 GB, free: 7.441 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002161/0.4667, allocations: 1.038 MB / 0.6011 GB, free: 6.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003153/0.467, allocations: 365.8 kB / 0.6014 GB, free: 5.969 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004073/0.4674, allocations: 184.3 kB / 0.6016 GB, free: 5.789 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004557/0.4719, allocations: 2.535 MB / 0.6041 GB, free: 3.219 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.079e-05/0.472, allocations: 7.875 kB / 0.6041 GB, free: 3.211 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002406/0.4722, allocations: 76 kB / 0.6041 GB, free: 3.137 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.192e-05/0.4723, allocations: 44 kB / 0.6042 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005491/0.4777, allocations: 3.172 MB / 0.6073 GB, free: 15.92 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.0145/0.4922, allocations: 6.905 MB / 0.614 GB, free: 8.906 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009594/0.5018, allocations: 4.654 MB / 0.6186 GB, free: 4.238 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002207/0.504, allocations: 1.155 MB / 0.6197 GB, free: 3.086 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01353/0.5176, allocations: 5.777 MB / 0.6253 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.5176, allocations: 47.88 kB / 0.6254 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001502/0.5191, allocations: 294.8 kB / 0.6257 GB, free: 12.93 MB / 478.1 MB Notification: Performance of pre-optimization done (n=158): time 4.619e-06/0.5191, allocations: 4 kB / 0.6257 GB, free: 12.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=187): time 0.0325/0.5516, allocations: 7.35 MB / 0.6328 GB, free: 5.531 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.5517, allocations: 73.41 kB / 0.6329 GB, free: 5.449 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.5529, allocations: 0.862 MB / 0.6338 GB, free: 4.566 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002626/0.5531, allocations: 53.7 kB / 0.6338 GB, free: 4.508 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006604/0.5538, allocations: 0.8402 MB / 0.6346 GB, free: 3.656 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006492/0.5545, allocations: 0.6622 MB / 0.6353 GB, free: 2.988 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000683/0.5551, allocations: 411.9 kB / 0.6357 GB, free: 2.578 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.5553, allocations: 305.1 kB / 0.636 GB, free: 2.277 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.5568, allocations: 0.7851 MB / 0.6367 GB, free: 1.488 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/0.5588, allocations: 1.375 MB / 0.6381 GB, free: 15.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003821/0.5627, allocations: 2.372 MB / 0.6404 GB, free: 13.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.5627, allocations: 8 kB / 0.6404 GB, free: 13.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.01317/0.5758, allocations: 3.368 MB / 0.6437 GB, free: 9.832 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/0.5759, allocations: 23.92 kB / 0.6437 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/0.5759, allocations: 16 kB / 0.6437 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004288/0.5802, allocations: 0.8185 MB / 0.6445 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/0.5824, allocations: 0.5149 MB / 0.645 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006041/0.5885, allocations: 3.623 MB / 0.6486 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.5901, allocations: 71.98 kB / 0.6486 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002321/0.5904, allocations: 119.9 kB / 0.6487 GB, free: 4.438 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.0008073/0.5912, allocations: 405 kB / 0.6491 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003475/0.5915, allocations: 147.1 kB / 0.6493 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/0.6049, allocations: 3.322 MB / 0.6525 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-05/0.6049, allocations: 7.969 kB / 0.6525 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.6049, allocations: 0 / 0.6525 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/0.6053, allocations: 134.9 kB / 0.6527 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002556/0.6056, allocations: 32 kB / 0.6527 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009894/0.6066, allocations: 43.98 kB / 0.6527 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004725/0.607, allocations: 217.5 kB / 0.6529 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006397/0.6134, allocations: 2.395 MB / 0.6553 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005682/0.6191, allocations: 3.335 MB / 0.6585 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001498/0.6206, allocations: 0.8589 MB / 0.6594 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007444/0.6214, allocations: 0.5293 MB / 0.6599 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of Backend: time 5.41e-07/0.6214, allocations: 0 / 0.6599 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007931/0.6293, allocations: 3.263 MB / 0.6631 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of SimCode: time 0.00515/0.6344, allocations: 3.46 MB / 0.6665 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of Templates: time 0.08278/0.7172, allocations: 55.94 MB / 0.7211 GB, free: 10.33 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.79650947600021] Failed to read output from testmodel.py, exit status != 0: 0.725849782989826 0.901968496 0.44346739700000004 Calling exit ...