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.001527/0.001527, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001633/0.001633, allocations: 215.7 kB / 22.26 MB, free: 5.125 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.988 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.1729/0.1729, allocations: 23.85 MB / 336.3 MB, free: 11.19 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.002319/0.002319, allocations: 63.91 kB / 471.2 MB, free: 7.699 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3296, allocations: 59.86 MB / 0.5186 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007924/0.3376, allocations: 7.669 MB / 0.5261 GB, free: 4.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02992/0.3675, allocations: 23.51 MB / 0.549 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.3692, allocations: 24.78 kB / 0.549 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.3711, allocations: 482.1 kB / 0.5495 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007621/0.3787, allocations: 1.968 MB / 0.5514 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01106/0.3898, allocations: 2.976 MB / 0.5543 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004239/0.394, allocations: 2.133 MB / 0.5564 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/0.3958, allocations: 1.036 MB / 0.5574 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.3976, allocations: 1.086 MB / 0.5585 GB, free: 13.26 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002287/0.3999, allocations: 1.237 MB / 0.5597 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000408/0.4003, allocations: 193.4 kB / 0.5599 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01035/0.4106, allocations: 2.549 MB / 0.5624 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000918/0.4116, allocations: 474.8 kB / 0.5628 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002055/0.4136, allocations: 0.9482 MB / 0.5638 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.4268, allocations: 4.854 MB / 0.5685 GB, free: 6.844 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.4268, allocations: 0 / 0.5685 GB, free: 6.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4268, allocations: 0 / 0.5685 GB, free: 6.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.584e-05/0.4268, allocations: 4 kB / 0.5685 GB, free: 6.84 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.00576/0.4326, allocations: 2.372 MB / 0.5708 GB, free: 4.426 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.4326, allocations: 8.031 kB / 0.5708 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002889/0.4329, allocations: 207.5 kB / 0.571 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/0.4348, allocations: 403.2 kB / 0.5714 GB, free: 3.809 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.4366, allocations: 0.8516 MB / 0.5722 GB, free: 2.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.4368, allocations: 214.3 kB / 0.5724 GB, free: 2.695 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002792/0.4371, allocations: 148.3 kB / 0.5726 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003661/0.4407, allocations: 2.06 MB / 0.5746 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.4408, allocations: 7.875 kB / 0.5746 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/0.4409, allocations: 64 kB / 0.5747 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.592e-05/0.441, allocations: 36 kB / 0.5747 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004893/0.4459, allocations: 2.732 MB / 0.5774 GB, free: 13.61 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.0142/0.4601, allocations: 6.527 MB / 0.5837 GB, free: 6.867 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005797/0.4659, allocations: 2.868 MB / 0.5865 GB, free: 3.996 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.4673, allocations: 0.805 MB / 0.5873 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01039/0.4777, allocations: 4.21 MB / 0.5914 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.4778, allocations: 47.56 kB / 0.5915 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001049/0.4788, allocations: 207 kB / 0.5917 GB, free: 14.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 6.703e-06/0.4788, allocations: 0 / 0.5917 GB, free: 14.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02339/0.5022, allocations: 5.185 MB / 0.5967 GB, free: 9.465 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.5023, allocations: 68.72 kB / 0.5968 GB, free: 9.387 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.504, allocations: 1.042 MB / 0.5978 GB, free: 8.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002451/0.5042, allocations: 53.7 kB / 0.5979 GB, free: 8.262 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006399/0.5049, allocations: 0.6916 MB / 0.5985 GB, free: 7.559 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006493/0.5055, allocations: 0.4996 MB / 0.599 GB, free: 7.055 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006861/0.5062, allocations: 335.4 kB / 0.5994 GB, free: 6.719 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.5064, allocations: 301.1 kB / 0.5996 GB, free: 6.422 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.5077, allocations: 0.6598 MB / 0.6003 GB, free: 5.762 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/0.5095, allocations: 1.115 MB / 0.6014 GB, free: 4.445 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003116/0.5126, allocations: 1.808 MB / 0.6031 GB, free: 2.445 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/0.5126, allocations: 8 kB / 0.6032 GB, free: 2.438 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007682/0.5203, allocations: 2.42 MB / 0.6055 GB, free: 16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/0.5203, allocations: 16.11 kB / 0.6055 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.201e-05/0.5203, allocations: 16 kB / 0.6055 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003173/0.5235, allocations: 489.9 kB / 0.606 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/0.5253, allocations: 411.4 kB / 0.6064 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00663/0.532, allocations: 3.676 MB / 0.61 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.5335, allocations: 55.98 kB / 0.61 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003472/0.5338, allocations: 100 kB / 0.6101 GB, free: 11.02 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.0008631/0.5347, allocations: 325.9 kB / 0.6105 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004308/0.5351, allocations: 139.1 kB / 0.6106 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007356/0.5425, allocations: 2.125 MB / 0.6127 GB, free: 8.418 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.508e-05/0.5425, allocations: 19.94 kB / 0.6127 GB, free: 8.398 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.5425, allocations: 0 / 0.6127 GB, free: 8.398 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.79e-05/0.5425, allocations: 7.969 kB / 0.6127 GB, free: 8.391 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009918/0.5525, allocations: 3.518 MB / 0.6161 GB, free: 4.809 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.5525, allocations: 0 / 0.6161 GB, free: 4.809 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.5537, allocations: 279.6 kB / 0.6164 GB, free: 4.535 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00295/0.5567, allocations: 470 kB / 0.6168 GB, free: 4.066 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001739/0.5568, allocations: 47.97 kB / 0.6169 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005731/0.5626, allocations: 3.565 MB / 0.6204 GB, free: 232 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5626, allocations: 4.062 kB / 0.6204 GB, free: 228 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007986/0.5706, allocations: 2.742 MB / 0.623 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003354/0.5709, allocations: 115.2 kB / 0.6232 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/0.5711, allocations: 31.94 kB / 0.6232 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008555/0.572, allocations: 31.98 kB / 0.6232 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003091/0.5723, allocations: 125.3 kB / 0.6233 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/0.5724, allocations: 60.09 kB / 0.6234 GB, free: 13.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001039/0.5735, allocations: 0.7186 MB / 0.6241 GB, free: 12.37 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5735, allocations: 0 / 0.6241 GB, free: 12.37 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003335/0.5768, allocations: 0.9545 MB / 0.625 GB, free: 11.41 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.01074/0.5876, allocations: 4.313 MB / 0.6292 GB, free: 7.062 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00428/0.5918, allocations: 1.843 MB / 0.631 GB, free: 5.191 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.5918, allocations: 0 / 0.631 GB, free: 5.191 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002304/0.5941, allocations: 0.9856 MB / 0.632 GB, free: 4.176 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.5957, allocations: 254.7 kB / 0.6322 GB, free: 3.926 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02831/0.624, allocations: 12.33 MB / 0.6443 GB, free: 7.074 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/0.6252, allocations: 1.195 MB / 0.6455 GB, free: 5.844 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001291/0.6265, allocations: 332.7 kB / 0.6458 GB, free: 5.531 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/0.6276, allocations: 0.6593 MB / 0.6464 GB, free: 4.871 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6276, allocations: 0 / 0.6464 GB, free: 4.871 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1075/0.7351, allocations: 47.52 MB / 0.6928 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.08/17.82, allocations: 0 / 0.6928 GB, free: 5.633 MB / 0.5294 GB " [Timeout remaining time 642] (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.683222670806572] Failed to read output from testmodel.py, exit status != 0: 17.97073801397346 17.997188499 17.565067294 Calling exit ...