Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09369/0.09369, allocations: 15.55 MB / 318.2 MB, free: 13.57 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_Chemical_Examples_AcidBase_CarbonDioxideInWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_Chemical_Examples_AcidBase_CarbonDioxideInWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.89 kB / 444.9 MB, free: 128 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2952, allocations: 56.54 MB / 0.4897 GB, free: 20.7 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.AcidBase.CarbonDioxideInWater): time 0.007047/0.3022, allocations: 7.595 MB / 0.4971 GB, free: 14.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02393/0.3261, allocations: 23.4 MB / 0.52 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.3278, allocations: 15.94 kB / 0.52 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.3294, allocations: 492.1 kB / 0.5205 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006071/0.3355, allocations: 1.953 MB / 0.5224 GB, free: 6.375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00979/0.3453, allocations: 2.932 MB / 0.5252 GB, free: 3.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003989/0.3493, allocations: 2.13 MB / 0.5273 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/0.3512, allocations: 1.056 MB / 0.5284 GB, free: 192 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.3532, allocations: 1.072 MB / 0.5294 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00246/0.3557, allocations: 1.246 MB / 0.5306 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004542/0.3561, allocations: 192 kB / 0.5308 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008829/0.365, allocations: 2.539 MB / 0.5333 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007893/0.3657, allocations: 482.6 kB / 0.5337 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.3671, allocations: 0.9451 MB / 0.5347 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01181/0.3789, allocations: 4.72 MB / 0.5393 GB, free: 4.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/0.3789, allocations: 0 / 0.5393 GB, free: 4.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3789, allocations: 0 / 0.5393 GB, free: 4.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.041e-05/0.379, allocations: 0 / 0.5393 GB, free: 4.973 MB / 398.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.005453/0.3844, allocations: 2.444 MB / 0.5417 GB, free: 2.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.3845, allocations: 16.03 kB / 0.5417 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002759/0.3847, allocations: 203.5 kB / 0.5419 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.3867, allocations: 407.2 kB / 0.5423 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.3885, allocations: 0.9055 MB / 0.5431 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.3887, allocations: 166.8 kB / 0.5433 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003172/0.389, allocations: 156.3 kB / 0.5434 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003862/0.3929, allocations: 2.044 MB / 0.5454 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/0.3929, allocations: 0 / 0.5454 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001954/0.3931, allocations: 63.98 kB / 0.5455 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/0.3932, allocations: 36 kB / 0.5455 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004757/0.3979, allocations: 2.717 MB / 0.5482 GB, free: 11.66 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.01298/0.4109, allocations: 6.557 MB / 0.5546 GB, free: 4.887 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005549/0.4165, allocations: 3.222 MB / 0.5577 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.418, allocations: 0.8089 MB / 0.5585 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01125/0.4293, allocations: 7.252 MB / 0.5656 GB, free: 8.719 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.4293, allocations: 47.5 kB / 0.5657 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009751/0.4303, allocations: 203 kB / 0.5659 GB, free: 8.465 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 3.316e-06/0.4303, allocations: 4 kB / 0.5659 GB, free: 8.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.02103/0.4513, allocations: 5.411 MB / 0.5711 GB, free: 2.953 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.4514, allocations: 72.66 kB / 0.5712 GB, free: 2.867 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.4527, allocations: 1.03 MB / 0.5722 GB, free: 1.812 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.4528, allocations: 49.7 kB / 0.5723 GB, free: 1.758 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005183/0.4534, allocations: 0.6994 MB / 0.5729 GB, free: 1.047 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004532/0.4538, allocations: 0.4997 MB / 0.5734 GB, free: 0.543 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000508/0.4543, allocations: 335.4 kB / 0.5738 GB, free: 212 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4545, allocations: 301.1 kB / 0.574 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.4556, allocations: 0.6481 MB / 0.5747 GB, free: 15.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.4571, allocations: 1.103 MB / 0.5758 GB, free: 13.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/0.4599, allocations: 1.812 MB / 0.5775 GB, free: 11.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.4599, allocations: 4 kB / 0.5775 GB, free: 11.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006846/0.4668, allocations: 2.404 MB / 0.5799 GB, free: 9.539 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.4668, allocations: 12 kB / 0.5799 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.449e-05/0.4668, allocations: 12 kB / 0.5799 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002976/0.4698, allocations: 498.1 kB / 0.5804 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/0.4715, allocations: 419.4 kB / 0.5808 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006078/0.4776, allocations: 3.878 MB / 0.5846 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.4791, allocations: 56.12 kB / 0.5846 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.4793, allocations: 91.95 kB / 0.5847 GB, free: 4.316 MB / 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.0006637/0.4799, allocations: 337.4 kB / 0.585 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.4802, allocations: 127.2 kB / 0.5851 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006628/0.4868, allocations: 2.129 MB / 0.5872 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/0.4869, allocations: 19.94 kB / 0.5872 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4869, allocations: 0 / 0.5872 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.4869, allocations: 11.97 kB / 0.5873 GB, free: 1.672 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008697/0.4956, allocations: 3.532 MB / 0.5907 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.4956, allocations: 3.984 kB / 0.5907 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.4968, allocations: 271.7 kB / 0.591 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00287/0.4997, allocations: 470 kB / 0.5914 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/0.4998, allocations: 47.97 kB / 0.5915 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005698/0.5055, allocations: 3.776 MB / 0.5951 GB, free: 9.234 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5055, allocations: 0 / 0.5951 GB, free: 9.234 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007451/0.513, allocations: 2.754 MB / 0.5978 GB, free: 6.449 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004261/0.5134, allocations: 196.2 kB / 0.598 GB, free: 6.238 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.5136, allocations: 24 kB / 0.598 GB, free: 6.215 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007535/0.5143, allocations: 31.98 kB / 0.5981 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003098/0.5146, allocations: 121.1 kB / 0.5982 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.5148, allocations: 59.95 kB / 0.5982 GB, free: 6.008 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009452/0.5157, allocations: 0.703 MB / 0.5989 GB, free: 5.293 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5157, allocations: 4 kB / 0.5989 GB, free: 5.289 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002927/0.5186, allocations: 0.9545 MB / 0.5999 GB, free: 4.332 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.2564/0.775, allocations: 4.304 MB / 0.6041 GB, free: 103.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004537/0.7796, allocations: 1.907 MB / 0.6059 GB, free: 102.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.7796, allocations: 0 / 0.6059 GB, free: 102.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002341/0.7819, allocations: 1.059 MB / 0.607 GB, free: 102.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.7833, allocations: 258 kB / 0.6072 GB, free: 102.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02597/0.8093, allocations: 12.3 MB / 0.6192 GB, free: 96.24 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/0.8099, allocations: 1.189 MB / 0.6204 GB, free: 95.52 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001339/0.8113, allocations: 326.7 kB / 0.6207 GB, free: 95.49 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008139/0.8121, allocations: 0.6631 MB / 0.6213 GB, free: 95.05 MB / 462.1 MB Notification: Performance of SimCode: time 1.533e-06/0.8121, allocations: 0 / 0.6213 GB, free: 95.05 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07908/0.8912, allocations: 45.67 MB / 0.6659 GB, free: 53.81 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.71/16.6, allocations: 3.938 kB / 0.6659 GB, free: 53.81 MB / 462.1 MB " [Timeout remaining time 643] (rm -f Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_AcidBase_CarbonDioxideInWater_fmu --startTime=0 --stopTime=0.02 --stepSize=8e-06 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_AcidBase_CarbonDioxideInWater.fmu > Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.424814326688647] Failed to read output from testmodel.py, exit status != 0: 16.727044879924506 16.745952615 16.363054797 Calling exit ...