Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001297/0.001297, allocations: 93.92 kB / 19.73 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.0015/0.0015, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.48/1.48, 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.142/0.142, allocations: 23.91 MB / 337.1 MB, free: 10.95 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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: "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater",fmuType="cs",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.002056/0.002056, allocations: 71.89 kB / 471.9 MB, free: 7.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3606, allocations: 59.87 MB / 0.5194 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.008479/0.369, allocations: 6.748 MB / 0.5259 GB, free: 5.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03191/0.4009, allocations: 20.56 MB / 0.546 GB, free: 7.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.4026, allocations: 24.12 kB / 0.5461 GB, free: 7.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.4043, allocations: 433.7 kB / 0.5465 GB, free: 6.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00702/0.4113, allocations: 1.93 MB / 0.5483 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0096/0.4209, allocations: 2.966 MB / 0.5512 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0036/0.4245, allocations: 2.131 MB / 0.5533 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/0.4262, allocations: 1.036 MB / 0.5543 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.428, allocations: 1.086 MB / 0.5554 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002358/0.4304, allocations: 1.233 MB / 0.5566 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003937/0.4308, allocations: 192.7 kB / 0.5568 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008575/0.4393, allocations: 2.455 MB / 0.5592 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009089/0.4402, allocations: 474.7 kB / 0.5596 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002122/0.4424, allocations: 0.8205 MB / 0.5604 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01425/0.4566, allocations: 4.835 MB / 0.5652 GB, free: 10.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4566, allocations: 0 / 0.5652 GB, free: 10.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4566, allocations: 0 / 0.5652 GB, free: 10.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.447e-05/0.4567, allocations: 0 / 0.5652 GB, free: 10.75 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.005608/0.4623, allocations: 2.361 MB / 0.5675 GB, free: 8.344 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4623, allocations: 8.031 kB / 0.5675 GB, free: 8.336 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.915e-05/0.4624, allocations: 43.08 kB / 0.5675 GB, free: 8.293 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003122/0.4627, allocations: 211.5 kB / 0.5677 GB, free: 8.074 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.4646, allocations: 395.2 kB / 0.5681 GB, free: 7.688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.4662, allocations: 0.8555 MB / 0.5689 GB, free: 6.805 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.4664, allocations: 222.3 kB / 0.5691 GB, free: 6.562 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003113/0.4667, allocations: 160.1 kB / 0.5693 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0037/0.4704, allocations: 2.048 MB / 0.5713 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.4705, allocations: 3.938 kB / 0.5713 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/0.4706, allocations: 56 kB / 0.5714 GB, free: 4.262 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/0.4707, allocations: 39.98 kB / 0.5714 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004683/0.4754, allocations: 2.736 MB / 0.5741 GB, free: 1.48 MB / 414.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.01275/0.4881, allocations: 5.571 MB / 0.5795 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005662/0.4938, allocations: 2.802 MB / 0.5822 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.4953, allocations: 0.8012 MB / 0.583 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009661/0.505, allocations: 3.996 MB / 0.5869 GB, free: 4.191 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.505, allocations: 47.56 kB / 0.587 GB, free: 4.133 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0011/0.5061, allocations: 210.9 kB / 0.5872 GB, free: 3.926 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 5.3e-06/0.5061, allocations: 0 / 0.5872 GB, free: 3.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.02347/0.5296, allocations: 5.174 MB / 0.5922 GB, free: 14.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.5297, allocations: 68.72 kB / 0.5923 GB, free: 14.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.5312, allocations: 1.042 MB / 0.5933 GB, free: 13.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002164/0.5314, allocations: 53.7 kB / 0.5934 GB, free: 13.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005901/0.532, allocations: 0.6954 MB / 0.594 GB, free: 12.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006204/0.5327, allocations: 0.5035 MB / 0.5945 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005774/0.5332, allocations: 339.4 kB / 0.5949 GB, free: 11.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5334, allocations: 301.1 kB / 0.5951 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.5346, allocations: 0.652 MB / 0.5958 GB, free: 11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/0.5364, allocations: 1.115 MB / 0.5969 GB, free: 9.688 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00311/0.5395, allocations: 1.804 MB / 0.5986 GB, free: 7.691 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.637e-05/0.5395, allocations: 4 kB / 0.5986 GB, free: 7.688 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007649/0.5471, allocations: 2.428 MB / 0.601 GB, free: 5.242 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/0.5472, allocations: 12 kB / 0.601 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/0.5472, allocations: 16 kB / 0.601 GB, free: 5.215 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003213/0.5504, allocations: 490.1 kB / 0.6015 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.5522, allocations: 423.3 kB / 0.6019 GB, free: 4.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006178/0.5584, allocations: 3.645 MB / 0.6055 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.5599, allocations: 52 kB / 0.6055 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002747/0.5601, allocations: 92.02 kB / 0.6056 GB, free: 312 kB / 446.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.000773/0.5609, allocations: 343.4 kB / 0.6059 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003978/0.5613, allocations: 127.2 kB / 0.606 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0072/0.5685, allocations: 2.129 MB / 0.6081 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.5685, allocations: 12 kB / 0.6081 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.5685, allocations: 4 kB / 0.6081 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.953e-05/0.5686, allocations: 11.97 kB / 0.6081 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009826/0.5784, allocations: 3.316 MB / 0.6114 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.5784, allocations: 0 / 0.6114 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/0.5797, allocations: 267.6 kB / 0.6116 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003061/0.5828, allocations: 466 kB / 0.6121 GB, free: 9.555 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002656/0.5831, allocations: 47.97 kB / 0.6121 GB, free: 9.508 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005706/0.5888, allocations: 3.542 MB / 0.6156 GB, free: 5.738 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.5888, allocations: 3.938 kB / 0.6156 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008387/0.5972, allocations: 2.742 MB / 0.6183 GB, free: 2.969 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004841/0.5976, allocations: 119.1 kB / 0.6184 GB, free: 2.852 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003582/0.598, allocations: 31.98 kB / 0.6184 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009016/0.5989, allocations: 24 kB / 0.6184 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003811/0.5993, allocations: 133.1 kB / 0.6186 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/0.5994, allocations: 51.97 kB / 0.6186 GB, free: 2.613 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001044/0.6005, allocations: 0.7147 MB / 0.6193 GB, free: 1.887 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6005, allocations: 0 / 0.6193 GB, free: 1.887 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003334/0.6038, allocations: 0.9622 MB / 0.6203 GB, free: 0.9219 MB / 462.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.01123/0.615, allocations: 4.312 MB / 0.6245 GB, free: 12.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004443/0.6195, allocations: 1.84 MB / 0.6263 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6195, allocations: 0 / 0.6263 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002473/0.622, allocations: 0.9856 MB / 0.6272 GB, free: 9.691 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.6236, allocations: 259.3 kB / 0.6275 GB, free: 9.434 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02804/0.6517, allocations: 12.34 MB / 0.6395 GB, free: 12.58 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007197/0.6524, allocations: 0.5982 MB / 0.6401 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00133/0.6537, allocations: 329.1 kB / 0.6404 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/0.6548, allocations: 0.6593 MB / 0.6411 GB, free: 10.97 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6548, allocations: 3.938 kB / 0.6411 GB, free: 10.97 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1012/0.756, allocations: 48.29 MB / 0.6882 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.34/18.1, allocations: 11.98 kB / 0.6882 GB, free: 11.08 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater_fmu --startTime=0 --stopTime=0.02 --stepSize=8e-06 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.877059955964796] Failed to read output from testmodel.py, exit status != 0: 18.30174680100754 18.324332064 17.863011872 Calling exit ...