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.001356/0.001356, allocations: 113 kB / 18.94 MB, free: 2.934 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.001942/0.001942, allocations: 207.5 kB / 22.25 MB, free: 5.082 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 8.031 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.1409/0.1409, allocations: 23.89 MB / 336.3 MB, free: 11.18 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_master_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.002047/0.002047, allocations: 67.89 kB / 471.2 MB, free: 7.648 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3514, allocations: 59.88 MB / 0.5187 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.008053/0.3595, allocations: 7.662 MB / 0.5261 GB, free: 4.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0317/0.3912, allocations: 23.5 MB / 0.5491 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.3927, allocations: 24.19 kB / 0.5491 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.3942, allocations: 485.3 kB / 0.5496 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006853/0.4011, allocations: 1.972 MB / 0.5515 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009587/0.4107, allocations: 2.97 MB / 0.5544 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004299/0.415, allocations: 2.13 MB / 0.5565 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/0.4167, allocations: 1.029 MB / 0.5575 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.4187, allocations: 1.085 MB / 0.5586 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.4211, allocations: 1.249 MB / 0.5598 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000371/0.4215, allocations: 192.1 kB / 0.56 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01125/0.4328, allocations: 2.542 MB / 0.5624 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001017/0.4338, allocations: 482.5 kB / 0.5629 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002817/0.4366, allocations: 0.9482 MB / 0.5638 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01488/0.4515, allocations: 4.853 MB / 0.5686 GB, free: 6.773 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4515, allocations: 0 / 0.5686 GB, free: 6.773 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4515, allocations: 0 / 0.5686 GB, free: 6.773 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001079/0.4516, allocations: 4 kB / 0.5686 GB, free: 6.77 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.006985/0.4586, allocations: 2.361 MB / 0.5709 GB, free: 4.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.4586, allocations: 8.031 kB / 0.5709 GB, free: 4.355 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004741/0.4591, allocations: 215.4 kB / 0.5711 GB, free: 4.133 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001992/0.4611, allocations: 399 kB / 0.5715 GB, free: 3.742 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.4629, allocations: 0.8515 MB / 0.5723 GB, free: 2.863 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.4631, allocations: 222.3 kB / 0.5725 GB, free: 2.621 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/0.4634, allocations: 156.3 kB / 0.5727 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003619/0.467, allocations: 2.052 MB / 0.5747 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.449e-05/0.4671, allocations: 7.922 kB / 0.5747 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.4672, allocations: 56 kB / 0.5747 GB, free: 324 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/0.4672, allocations: 36 kB / 0.5748 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004701/0.4719, allocations: 2.744 MB / 0.5774 GB, free: 13.53 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.01327/0.4852, allocations: 6.523 MB / 0.5838 GB, free: 6.793 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005535/0.4908, allocations: 2.863 MB / 0.5866 GB, free: 3.926 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.4921, allocations: 0.8128 MB / 0.5874 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009494/0.5016, allocations: 4.199 MB / 0.5915 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.5017, allocations: 47.5 kB / 0.5915 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001006/0.5027, allocations: 203 kB / 0.5917 GB, free: 14.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 6.783e-06/0.5027, allocations: 0 / 0.5917 GB, free: 14.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02187/0.5246, allocations: 5.189 MB / 0.5968 GB, free: 9.398 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.5246, allocations: 68.72 kB / 0.5969 GB, free: 9.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.5263, allocations: 1.042 MB / 0.5979 GB, free: 8.254 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001696/0.5264, allocations: 49.7 kB / 0.5979 GB, free: 8.199 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006054/0.527, allocations: 0.6955 MB / 0.5986 GB, free: 7.492 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005614/0.5276, allocations: 0.5074 MB / 0.5991 GB, free: 6.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005798/0.5282, allocations: 327.4 kB / 0.5994 GB, free: 6.652 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5283, allocations: 305.1 kB / 0.5997 GB, free: 6.352 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.5296, allocations: 0.652 MB / 0.6004 GB, free: 5.699 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/0.5313, allocations: 1.115 MB / 0.6014 GB, free: 4.383 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/0.5343, allocations: 1.808 MB / 0.6032 GB, free: 2.383 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/0.5344, allocations: 4 kB / 0.6032 GB, free: 2.379 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007224/0.5416, allocations: 2.424 MB / 0.6056 GB, free: 15.94 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/0.5416, allocations: 12 kB / 0.6056 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/0.5416, allocations: 12 kB / 0.6056 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002903/0.5446, allocations: 498.1 kB / 0.6061 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.5463, allocations: 415.4 kB / 0.6065 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006188/0.5525, allocations: 3.676 MB / 0.6101 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.5538, allocations: 52 kB / 0.6101 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003325/0.5542, allocations: 99.95 kB / 0.6102 GB, free: 10.96 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.000856/0.555, allocations: 333.9 kB / 0.6105 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004338/0.5554, allocations: 127.1 kB / 0.6106 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00731/0.5628, allocations: 2.128 MB / 0.6127 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.5628, allocations: 16.08 kB / 0.6127 GB, free: 8.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.5628, allocations: 8 kB / 0.6127 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/0.5628, allocations: 11.95 kB / 0.6128 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009289/0.5721, allocations: 3.522 MB / 0.6162 GB, free: 4.734 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.5721, allocations: 4 kB / 0.6162 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.5734, allocations: 271.7 kB / 0.6165 GB, free: 4.465 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002827/0.5762, allocations: 473.9 kB / 0.6169 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/0.5764, allocations: 43.97 kB / 0.617 GB, free: 3.949 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005636/0.582, allocations: 3.577 MB / 0.6204 GB, free: 148 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5821, allocations: 0 / 0.6204 GB, free: 148 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007799/0.5898, allocations: 2.746 MB / 0.6231 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/0.5902, allocations: 115.2 kB / 0.6232 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002824/0.5905, allocations: 31.94 kB / 0.6233 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008981/0.5914, allocations: 27.98 kB / 0.6233 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003379/0.5918, allocations: 129.1 kB / 0.6234 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/0.5919, allocations: 51.97 kB / 0.6235 GB, free: 13.02 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00118/0.5931, allocations: 0.7225 MB / 0.6242 GB, free: 12.29 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5931, allocations: 0 / 0.6242 GB, free: 12.29 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003268/0.5964, allocations: 0.9622 MB / 0.6251 GB, free: 11.32 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.01116/0.6075, allocations: 4.305 MB / 0.6293 GB, free: 6.984 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004313/0.6118, allocations: 1.836 MB / 0.6311 GB, free: 5.121 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.6118, allocations: 4.188 kB / 0.6311 GB, free: 5.117 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002134/0.614, allocations: 0.9856 MB / 0.6321 GB, free: 4.102 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.6155, allocations: 255.3 kB / 0.6323 GB, free: 3.848 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0277/0.6432, allocations: 12.33 MB / 0.6444 GB, free: 7.004 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.6443, allocations: 1.191 MB / 0.6455 GB, free: 5.777 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001302/0.6457, allocations: 328.9 kB / 0.6458 GB, free: 5.469 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.6467, allocations: 0.6671 MB / 0.6465 GB, free: 4.801 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6467, allocations: 0 / 0.6465 GB, free: 4.801 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/0.7548, allocations: 47.51 MB / 0.6929 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/16.45, allocations: 14.8 kB / 0.6929 GB, free: 5.562 MB / 0.5294 GB " [Timeout remaining time 643] (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 sys.exit(0), Time elapsed: 19.36087671504356] Failed to read output from testmodel.py, exit status != 0: 16.59251337009482 16.617403795 16.161071559 Calling exit ...