Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.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.001478/0.001478, allocations: 103.6 kB / 16.45 MB, free: 6.5 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.001623/0.001623, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.491/1.491, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.1366/0.1366, allocations: 23.85 MB / 332.7 MB, free: 12.38 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater",fmuType="me",version="2.0",platforms={"static"}) [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.002095/0.002095, allocations: 63.91 kB / 466 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.325, allocations: 59.82 MB / 0.5135 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007191/0.3321, allocations: 7.614 MB / 0.5209 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.029/0.3612, allocations: 23.45 MB / 0.5438 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.3626, allocations: 27.62 kB / 0.5438 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.3642, allocations: 490.9 kB / 0.5443 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006385/0.3706, allocations: 1.952 MB / 0.5462 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008997/0.3796, allocations: 2.933 MB / 0.5491 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003592/0.3832, allocations: 2.14 MB / 0.5512 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.3847, allocations: 1.062 MB / 0.5522 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.3862, allocations: 1.09 MB / 0.5533 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.3883, allocations: 1.237 MB / 0.5545 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003735/0.3887, allocations: 194.2 kB / 0.5547 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009041/0.3977, allocations: 2.544 MB / 0.5571 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008189/0.3985, allocations: 479.1 kB / 0.5576 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001722/0.4003, allocations: 0.948 MB / 0.5585 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01271/0.413, allocations: 4.854 MB / 0.5633 GB, free: 7.277 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.413, allocations: 0 / 0.5633 GB, free: 7.277 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.413, allocations: 1.375 kB / 0.5633 GB, free: 7.277 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.852e-05/0.413, allocations: 0 / 0.5633 GB, free: 7.277 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 368 * Number of variables: 368 Notification: Performance of Generate backend data structure: time 0.006585/0.4196, allocations: 2.437 MB / 0.5657 GB, free: 5.574 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.4197, allocations: 12.44 kB / 0.5657 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003592/0.42, allocations: 210.8 kB / 0.5659 GB, free: 5.398 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/0.4221, allocations: 396.5 kB / 0.5662 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.4245, allocations: 0.9133 MB / 0.5671 GB, free: 4.062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00021/0.4247, allocations: 170.8 kB / 0.5673 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003805/0.4251, allocations: 152.3 kB / 0.5674 GB, free: 3.734 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004132/0.4292, allocations: 2.056 MB / 0.5695 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.4293, allocations: 0 / 0.5695 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/0.4294, allocations: 60 kB / 0.5695 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/0.4295, allocations: 32 kB / 0.5695 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004961/0.4344, allocations: 2.717 MB / 0.5722 GB, free: 14.83 MB / 430.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.01295/0.4474, allocations: 6.573 MB / 0.5786 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005873/0.4533, allocations: 3.218 MB / 0.5818 GB, free: 4.711 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.4548, allocations: 0.8089 MB / 0.5825 GB, free: 3.906 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01191/0.4667, allocations: 7.271 MB / 0.5896 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.4667, allocations: 43.56 kB / 0.5897 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001116/0.4678, allocations: 199 kB / 0.5899 GB, free: 11.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 7.104e-06/0.4678, allocations: 3.938 kB / 0.5899 GB, free: 11.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02286/0.4907, allocations: 5.411 MB / 0.5952 GB, free: 6.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.4907, allocations: 68.66 kB / 0.5952 GB, free: 6.008 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.4923, allocations: 1.034 MB / 0.5962 GB, free: 4.949 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002091/0.4925, allocations: 49.7 kB / 0.5963 GB, free: 4.895 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006124/0.4931, allocations: 0.6994 MB / 0.597 GB, free: 4.184 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006252/0.4938, allocations: 0.4996 MB / 0.5975 GB, free: 3.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000679/0.4944, allocations: 335.4 kB / 0.5978 GB, free: 3.344 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4946, allocations: 301.1 kB / 0.5981 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.496, allocations: 0.652 MB / 0.5987 GB, free: 2.395 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.4978, allocations: 1.107 MB / 0.5998 GB, free: 1.098 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003378/0.5012, allocations: 1.804 MB / 0.6015 GB, free: 15.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/0.5012, allocations: 4 kB / 0.6015 GB, free: 15.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00797/0.5092, allocations: 2.416 MB / 0.6039 GB, free: 12.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/0.5092, allocations: 12 kB / 0.6039 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.091e-05/0.5092, allocations: 12 kB / 0.6039 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003102/0.5123, allocations: 494.1 kB / 0.6044 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/0.5142, allocations: 415.3 kB / 0.6048 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006396/0.5206, allocations: 3.883 MB / 0.6086 GB, free: 7.586 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.5223, allocations: 55.98 kB / 0.6086 GB, free: 7.531 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003915/0.5227, allocations: 91.97 kB / 0.6087 GB, free: 7.441 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (212): * Single equations (assignments): 209 * 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 {(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): 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.0009553/0.5236, allocations: 333.4 kB / 0.609 GB, free: 7.105 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004454/0.5241, allocations: 127.2 kB / 0.6092 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007338/0.5314, allocations: 2.121 MB / 0.6112 GB, free: 4.844 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/0.5314, allocations: 19.94 kB / 0.6113 GB, free: 4.824 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.5314, allocations: 0 / 0.6113 GB, free: 4.824 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.909e-05/0.5315, allocations: 7.969 kB / 0.6113 GB, free: 4.816 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009861/0.5413, allocations: 3.551 MB / 0.6147 GB, free: 1.191 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.5413, allocations: 0 / 0.6147 GB, free: 1.191 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.5427, allocations: 271.7 kB / 0.615 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002901/0.5456, allocations: 474 kB / 0.6154 GB, free: 464 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000299/0.5459, allocations: 51.95 kB / 0.6155 GB, free: 412 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005966/0.5519, allocations: 3.779 MB / 0.6192 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5519, allocations: 0 / 0.6192 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008307/0.5602, allocations: 2.746 MB / 0.6219 GB, free: 9.57 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004682/0.5607, allocations: 196.2 kB / 0.6221 GB, free: 9.359 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/0.561, allocations: 28 kB / 0.6221 GB, free: 9.332 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009312/0.5619, allocations: 31.98 kB / 0.6221 GB, free: 9.301 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003364/0.5622, allocations: 125.1 kB / 0.6222 GB, free: 9.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/0.5624, allocations: 55.91 kB / 0.6223 GB, free: 9.125 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00103/0.5634, allocations: 0.7108 MB / 0.623 GB, free: 8.402 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5634, allocations: 4 kB / 0.623 GB, free: 8.398 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003209/0.5666, allocations: 0.9506 MB / 0.6239 GB, free: 7.445 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (solution.temperature,HCO3.logn,H.logn,CO2_liquid.logn,liquidWater.logn,OH.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 141 * 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 {(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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01097/0.5776, allocations: 4.324 MB / 0.6281 GB, free: 3.086 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004459/0.5821, allocations: 1.903 MB / 0.63 GB, free: 1.137 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5821, allocations: 0 / 0.63 GB, free: 1.137 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002343/0.5844, allocations: 1.065 MB / 0.631 GB, free: 28 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.5862, allocations: 268.5 kB / 0.6313 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02924/0.6154, allocations: 12.3 MB / 0.6433 GB, free: 2.953 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.6166, allocations: 1.187 MB / 0.6445 GB, free: 1.734 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001522/0.6181, allocations: 328.5 kB / 0.6448 GB, free: 1.422 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/0.6193, allocations: 0.6593 MB / 0.6454 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6193, allocations: 0 / 0.6454 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1499/0.7692, allocations: 46.16 MB / 0.6905 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.45/17.22, allocations: 0 / 0.6905 GB, free: 2.871 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater_fmu --startTime=0 --stopTime=0.02 --stepSize=8e-06 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.07290154392831] Failed to read output from testmodel.py, exit status != 0: 17.352261802880093 17.3804298 16.961750216 Calling exit ...