Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.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.001165/0.001165, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.001219/0.001219, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.8854/0.8854, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.08135/0.08135, allocations: 17.37 MB / 276.6 MB, free: 11.86 MB / 266.7 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.GasSolubility_NIST,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility_NIST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility_NIST",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 3.938 kB / 411.5 MB, free: 424 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.362e-05, allocations: 7.406 kB / 411.5 MB, free: 416 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.009243/0.009266, allocations: 12.85 MB / 424.3 MB, free: 3.508 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.1914/0.2007, allocations: 43.18 MB / 467.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002018/0.2027, allocations: 45.75 kB / 467.5 MB, free: 40.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.2049, allocations: 0.9999 MB / 468.5 MB, free: 39.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007216/0.2121, allocations: 3.563 MB / 472.1 MB, free: 37.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01283/0.2249, allocations: 7.283 MB / 479.4 MB, free: 33.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004831/0.2298, allocations: 4.646 MB / 484 MB, free: 30.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00234/0.2321, allocations: 1.897 MB / 485.9 MB, free: 30.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003665/0.2358, allocations: 2.933 MB / 488.9 MB, free: 28.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002503/0.2383, allocations: 1.843 MB / 490.7 MB, free: 28.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008994/0.2392, allocations: 381 kB / 491.1 MB, free: 28.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01246/0.2516, allocations: 5.275 MB / 496.3 MB, free: 27.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001464/0.2531, allocations: 0.8997 MB / 497.2 MB, free: 26.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003454/0.2565, allocations: 1.416 MB / 498.7 MB, free: 26.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02095/0.2775, allocations: 10.87 MB / 0.4976 GB, free: 21.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.2775, allocations: 0 / 0.4976 GB, free: 21.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2775, allocations: 0 / 0.4976 GB, free: 21.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002029/0.2777, allocations: 0 / 0.4976 GB, free: 21.43 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: 791 * Number of variables: 791 Notification: Performance of Generate backend data structure: time 0.01068/0.2884, allocations: 4.691 MB / 0.5022 GB, free: 18.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.2884, allocations: 9.375 kB / 0.5022 GB, free: 18.74 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005191/0.2889, allocations: 417.3 kB / 0.5026 GB, free: 18.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0029/0.2918, allocations: 0.9368 MB / 0.5035 GB, free: 18.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002933/0.2948, allocations: 1.543 MB / 0.505 GB, free: 17.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.2949, allocations: 233.8 kB / 0.5052 GB, free: 17.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006038/0.2955, allocations: 328.4 kB / 0.5055 GB, free: 17.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005863/0.3014, allocations: 4.522 MB / 0.51 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.242e-05/0.3014, allocations: 3.094 kB / 0.51 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002146/0.3016, allocations: 130.6 kB / 0.5101 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.301e-05/0.3017, allocations: 77.94 kB / 0.5102 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005734/0.3074, allocations: 6.417 MB / 0.5164 GB, free: 9.496 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.01489/0.3223, allocations: 10.83 MB / 0.527 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004644/0.3269, allocations: 3.716 MB / 0.5306 GB, free: 10.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.3286, allocations: 1.173 MB / 0.5318 GB, free: 9.594 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01066/0.3393, allocations: 6.316 MB / 0.5379 GB, free: 3.242 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.3393, allocations: 56.05 kB / 0.538 GB, free: 3.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 3.506e-06/0.3393, allocations: 0 / 0.538 GB, free: 3.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=227): time 0.02311/0.3624, allocations: 9.429 MB / 0.5472 GB, free: 9.645 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.783e-05/0.3625, allocations: 132.8 kB / 0.5473 GB, free: 9.492 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003382/0.3659, allocations: 3.462 MB / 0.5507 GB, free: 6.004 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003666/0.3663, allocations: 61.7 kB / 0.5508 GB, free: 5.938 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007734/0.367, allocations: 1.63 MB / 0.5524 GB, free: 4.293 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006574/0.3677, allocations: 0.8251 MB / 0.5532 GB, free: 3.461 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001005/0.3687, allocations: 0.6809 MB / 0.5538 GB, free: 2.773 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.801e-05/0.3688, allocations: 309.1 kB / 0.5541 GB, free: 2.469 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.3704, allocations: 1.417 MB / 0.5555 GB, free: 1.051 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/0.3725, allocations: 2.515 MB / 0.558 GB, free: 14.05 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003795/0.3763, allocations: 3.627 MB / 0.5615 GB, free: 9.93 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.339e-05/0.3764, allocations: 8 kB / 0.5615 GB, free: 9.922 MB / 458.7 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.007978/0.3843, allocations: 5.047 MB / 0.5664 GB, free: 4.852 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.3844, allocations: 20 kB / 0.5665 GB, free: 4.832 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.629e-05/0.3844, allocations: 36 kB / 0.5665 GB, free: 4.797 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002849/0.3873, allocations: 0.7153 MB / 0.5672 GB, free: 4.062 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/0.3892, allocations: 0.841 MB / 0.568 GB, free: 3.223 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00998/0.3991, allocations: 10.84 MB / 0.5786 GB, free: 7.727 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/0.4013, allocations: 119.9 kB / 0.5787 GB, free: 7.609 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004447/0.4018, allocations: 204 kB / 0.5789 GB, free: 7.41 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 159 * 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 (440): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001112/0.4029, allocations: 0.5474 MB / 0.5794 GB, free: 6.852 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005696/0.4035, allocations: 274.2 kB / 0.5797 GB, free: 6.582 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006379/0.4098, allocations: 3.203 MB / 0.5828 GB, free: 3.363 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/0.4099, allocations: 20.14 kB / 0.5829 GB, free: 3.344 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/0.4099, allocations: 11.98 kB / 0.5829 GB, free: 3.332 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.16e-05/0.4099, allocations: 11.95 kB / 0.5829 GB, free: 3.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003663/0.4136, allocations: 2.208 MB / 0.585 GB, free: 1.023 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/0.4136, allocations: 4 kB / 0.585 GB, free: 1.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.4146, allocations: 447.8 kB / 0.5855 GB, free: 0.582 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002517/0.4171, allocations: 0.6682 MB / 0.5861 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002773/0.4174, allocations: 79.97 kB / 0.5862 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009214/0.4266, allocations: 10.56 MB / 0.5965 GB, free: 4.578 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.4266, allocations: 7.938 kB / 0.5965 GB, free: 4.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007123/0.4338, allocations: 4.149 MB / 0.6006 GB, free: 348 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007397/0.4345, allocations: 258.2 kB / 0.6008 GB, free: 88 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004178/0.4349, allocations: 48.19 kB / 0.6009 GB, free: 40 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009378/0.4359, allocations: 56.08 kB / 0.6009 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003434/0.4362, allocations: 209.5 kB / 0.6011 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/0.4363, allocations: 95.97 kB / 0.6012 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002364/0.4387, allocations: 2.393 MB / 0.6035 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4387, allocations: 0 / 0.6035 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006314/0.445, allocations: 2.111 MB / 0.6056 GB, free: 11.16 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (water_solution_37degC1.temperature,CO2_0.logn,O2_0.logn,water_0.logn,water_solution_37degC.temperature,CO2_37.logn,O2_37.logn,water_37.logn,water_solution_25degC.temperature,CO2_25.logn,O2_25.logn,water_25.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 (236): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0135/0.4585, allocations: 7.004 MB / 0.6124 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005487/0.464, allocations: 3.638 MB / 0.616 GB, free: 364 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.464, allocations: 0 / 0.616 GB, free: 364 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002061/0.4661, allocations: 1.773 MB / 0.6177 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.4683, allocations: 0.5015 MB / 0.6182 GB, free: 14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1835/0.6518, allocations: 26.01 MB / 0.6436 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000791/0.6526, allocations: 1.164 MB / 0.6447 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001852/0.6544, allocations: 0.6137 MB / 0.6453 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/0.6558, allocations: 1.423 MB / 0.6467 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.453e-06/0.6558, allocations: 0 / 0.6467 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/0.7725, allocations: 97.78 MB / 0.7422 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.62, allocations: 10.23 kB / 0.7422 GB, free: 88.85 MB / 0.5105 GB " [Timeout remaining time 648] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST_res.csv --start-time 0 --stop-time 1e-05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-09 Chemical_Chemical_Obsolete_Examples_GasSolubility_NIST.fmu > Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.544292764738202] Failed to read output from testmodel.py, exit status != 0: 11.751813768409193 11.758026799 11.478953499 Calling exit ...