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.0008328/0.0008328, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009357/0.0009357, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8408/0.8408, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.08189/0.08189, allocations: 17.45 MB / 276.6 MB, free: 11.74 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 411.6 MB, free: 228 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045e-05/1.219e-05, allocations: 2.281 kB / 411.6 MB, free: 224 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.004956/0.004969, allocations: 6.719 MB / 418.3 MB, free: 9.469 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01453/0.0195, allocations: 20.57 MB / 438.9 MB, free: 4.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004774/0.01998, allocations: 23.81 kB / 438.9 MB, free: 4.797 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007449/0.02072, allocations: 448.4 kB / 439.4 MB, free: 4.355 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002906/0.02363, allocations: 1.986 MB / 441.4 MB, free: 2.352 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1487/0.1723, allocations: 3.057 MB / 444.4 MB, free: 44.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.1741, allocations: 2.203 MB / 446.6 MB, free: 44.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007436/0.1749, allocations: 1.027 MB / 447.6 MB, free: 44.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000849/0.1757, allocations: 1.485 MB / 449.1 MB, free: 44.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007661/0.1765, allocations: 1.007 MB / 450.1 MB, free: 44.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.1766, allocations: 192.7 kB / 450.3 MB, free: 44.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003764/0.1804, allocations: 2.411 MB / 452.7 MB, free: 44.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.1807, allocations: 485 kB / 453.2 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004924/0.1811, allocations: 0.7006 MB / 453.9 MB, free: 44.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006975/0.1881, allocations: 5.152 MB / 459.1 MB, free: 43.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1881, allocations: 0.75 kB / 459.1 MB, free: 43.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1881, allocations: 0 / 459.1 MB, free: 43.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.233e-05/0.1882, allocations: 0.75 kB / 459.1 MB, free: 43.34 MB / 410.7 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.002695/0.1908, allocations: 2.351 MB / 461.4 MB, free: 42.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1909, allocations: 9.656 kB / 461.4 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.191, allocations: 210.3 kB / 461.6 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008768/0.1919, allocations: 404.9 kB / 462 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008425/0.1928, allocations: 0.8498 MB / 462.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.1929, allocations: 221 kB / 463.1 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.193, allocations: 148.1 kB / 463.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.1948, allocations: 2.058 MB / 465.3 MB, free: 40.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.1948, allocations: 4.219 kB / 465.3 MB, free: 40.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.1949, allocations: 64.06 kB / 465.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.1949, allocations: 34.34 kB / 465.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.1972, allocations: 2.709 MB / 468.1 MB, free: 39.59 MB / 410.7 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.006923/0.2041, allocations: 5.577 MB / 473.7 MB, free: 36.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002961/0.207, allocations: 2.797 MB / 476.5 MB, free: 35.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007688/0.2078, allocations: 0.8032 MB / 477.3 MB, free: 35.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004834/0.2126, allocations: 3.994 MB / 481.3 MB, free: 34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.2127, allocations: 48.41 kB / 481.3 MB, free: 33.95 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004044/0.2131, allocations: 205.6 kB / 481.5 MB, free: 33.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=117): time 2.915e-06/0.2131, allocations: 1.469 kB / 481.5 MB, free: 33.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.01129/0.2244, allocations: 5.174 MB / 486.7 MB, free: 31.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.2244, allocations: 66.44 kB / 486.8 MB, free: 31.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008928/0.2253, allocations: 1.072 MB / 487.8 MB, free: 31.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.647e-05/0.2254, allocations: 53.89 kB / 487.9 MB, free: 31.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.2256, allocations: 0.7013 MB / 488.6 MB, free: 30.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.2258, allocations: 0.4928 MB / 489.1 MB, free: 30.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/0.2262, allocations: 335.9 kB / 489.4 MB, free: 30.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.659e-05/0.2262, allocations: 303 kB / 489.7 MB, free: 29.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007485/0.2269, allocations: 0.655 MB / 490.4 MB, free: 29.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008738/0.2278, allocations: 1.113 MB / 491.5 MB, free: 28.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.2294, allocations: 1.808 MB / 493.3 MB, free: 27.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.2294, allocations: 4.531 kB / 493.3 MB, free: 27.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003643/0.2331, allocations: 2.424 MB / 495.7 MB, free: 26.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.2331, allocations: 10.25 kB / 495.7 MB, free: 26.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.2331, allocations: 14.98 kB / 495.7 MB, free: 26.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.2345, allocations: 493.1 kB / 496.2 MB, free: 26.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007781/0.2353, allocations: 420 kB / 496.6 MB, free: 26.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.238, allocations: 3.631 MB / 0.4885 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007764/0.2387, allocations: 54.2 kB / 0.4886 GB, free: 23.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.2389, allocations: 92.81 kB / 0.4887 GB, free: 23.53 MB / 410.7 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.0004696/0.2393, allocations: 344.4 kB / 0.489 GB, free: 23.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.2395, allocations: 127.8 kB / 0.4891 GB, free: 23.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003236/0.2427, allocations: 2.12 MB / 0.4912 GB, free: 22.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.2427, allocations: 14.47 kB / 0.4912 GB, free: 22.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2427, allocations: 4.031 kB / 0.4912 GB, free: 22.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.2427, allocations: 7.125 kB / 0.4912 GB, free: 22.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004439/0.2472, allocations: 3.315 MB / 0.4944 GB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2472, allocations: 0.5938 kB / 0.4944 GB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005845/0.2478, allocations: 271.3 kB / 0.4947 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001352/0.2491, allocations: 476.4 kB / 0.4952 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.106e-05/0.2492, allocations: 48.38 kB / 0.4952 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002423/0.2516, allocations: 3.537 MB / 0.4987 GB, free: 17.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.2516, allocations: 0.6094 kB / 0.4987 GB, free: 17.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003751/0.2554, allocations: 2.75 MB / 0.5013 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.2557, allocations: 114.5 kB / 0.5015 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.2558, allocations: 24 kB / 0.5015 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.2562, allocations: 31.05 kB / 0.5015 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.2564, allocations: 130.7 kB / 0.5016 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.385e-05/0.2565, allocations: 56.81 kB / 0.5017 GB, free: 15.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005248/0.257, allocations: 0.7198 MB / 0.5024 GB, free: 15.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.257, allocations: 0 / 0.5024 GB, free: 15.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001964/0.259, allocations: 0.9544 MB / 0.5033 GB, free: 14.14 MB / 410.7 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.005186/0.2641, allocations: 4.348 MB / 0.5076 GB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002465/0.2666, allocations: 1.84 MB / 0.5094 GB, free: 8.738 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2666, allocations: 448 / 0.5094 GB, free: 8.738 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.2677, allocations: 0.9873 MB / 0.5103 GB, free: 7.863 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009753/0.2687, allocations: 260.7 kB / 0.5106 GB, free: 7.656 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/0.2831, allocations: 12.28 MB / 0.5226 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.2836, allocations: 0.5982 MB / 0.5232 GB, free: 11.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008949/0.2845, allocations: 326.4 kB / 0.5235 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006763/0.2851, allocations: 0.6681 MB / 0.5241 GB, free: 10.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.303e-06/0.2851, allocations: 0 / 0.5241 GB, free: 10.43 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0564/0.3415, allocations: 48.31 MB / 0.5713 GB, free: 10.56 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.591/8.932, allocations: 15.14 kB / 0.5713 GB, free: 10.55 MB / 474.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater_res.csv --start-time 0 --stop-time 0.02 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-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: 10.710168294608593] Failed to read output from testmodel.py, exit status != 0: 9.039423214271665 9.048675695 8.85786743 Calling exit ...