Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.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.0007453/0.0007453, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.0007879/0.0007879, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.734 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.08327/0.08327, allocations: 17.38 MB / 276.6 MB, free: 11.84 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.AcidBase.CarbonDioxideInBlood,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0.6562 kB / 411.5 MB, free: 13.24 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.438e-05, allocations: 2.281 kB / 411.5 MB, free: 13.23 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood): time 0.02671/0.02674, allocations: 33.64 MB / 445.1 MB, free: 7.617 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03348/0.06022, allocations: 41.74 MB / 486.8 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.06233, allocations: 47.62 kB / 486.9 MB, free: 14.81 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.06429, allocations: 0.9456 MB / 487.8 MB, free: 13.86 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007399/0.07169, allocations: 3.84 MB / 491.7 MB, free: 9.992 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01298/0.08467, allocations: 6.685 MB / 498.4 MB, free: 3.266 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004757/0.08943, allocations: 4.681 MB / 0.4913 GB, free: 14.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002084/0.09151, allocations: 2.223 MB / 0.4934 GB, free: 12.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002586/0.0941, allocations: 3.155 MB / 0.4965 GB, free: 9.121 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/0.0963, allocations: 2.112 MB / 0.4986 GB, free: 7.004 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005955/0.0969, allocations: 420 kB / 0.499 GB, free: 6.594 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01025/0.1071, allocations: 5.068 MB / 0.5039 GB, free: 1.516 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006896/0.1078, allocations: 1.009 MB / 0.5049 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001265/0.1091, allocations: 1.501 MB / 0.5064 GB, free: 15 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01469/0.1238, allocations: 10.89 MB / 0.517 GB, free: 4.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1238, allocations: 0 / 0.517 GB, free: 4.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1238, allocations: 0 / 0.517 GB, free: 4.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001097/0.1239, allocations: 0 / 0.517 GB, free: 4.07 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.006214/0.1301, allocations: 4.726 MB / 0.5216 GB, free: 15.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.1302, allocations: 8.031 kB / 0.5216 GB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003578/0.1305, allocations: 430.7 kB / 0.522 GB, free: 14.83 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/0.1325, allocations: 0.8525 MB / 0.5229 GB, free: 13.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/0.1343, allocations: 1.619 MB / 0.5244 GB, free: 12.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.1345, allocations: 349.7 kB / 0.5248 GB, free: 11.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003494/0.1349, allocations: 328.3 kB / 0.5251 GB, free: 11.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004432/0.1393, allocations: 4.543 MB / 0.5295 GB, free: 7.016 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/0.1393, allocations: 192 / 0.5295 GB, free: 7.016 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002209/0.1395, allocations: 131.9 kB / 0.5297 GB, free: 6.887 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/0.1396, allocations: 76 kB / 0.5297 GB, free: 6.812 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005722/0.1453, allocations: 6.173 MB / 0.5358 GB, free: 0.6289 MB / 442.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.01317/0.1585, allocations: 12.02 MB / 0.5475 GB, free: 4.473 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00521/0.1637, allocations: 5.31 MB / 0.5527 GB, free: 15.17 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002089/0.1658, allocations: 2.056 MB / 0.5547 GB, free: 13.11 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/0.1769, allocations: 9.12 MB / 0.5636 GB, free: 3.949 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.1769, allocations: 60.8 kB / 0.5637 GB, free: 3.879 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009771/0.1779, allocations: 473.8 kB / 0.5641 GB, free: 3.414 MB / 474.7 MB Notification: Performance of pre-optimization done (n=284): time 4.449e-06/0.1779, allocations: 0 / 0.5641 GB, free: 3.414 MB / 474.7 MB Notification: Performance of matching and sorting (n=387): time 0.2165/0.3944, allocations: 23.36 MB / 0.5869 GB, free: 100.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.3944, allocations: 95.22 kB / 0.587 GB, free: 100.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.3962, allocations: 1.772 MB / 0.5887 GB, free: 100.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003292/0.3965, allocations: 93.77 kB / 0.5888 GB, free: 100.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005496/0.3971, allocations: 1.333 MB / 0.5901 GB, free: 99.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007108/0.3978, allocations: 1.356 MB / 0.5915 GB, free: 98.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008999/0.3987, allocations: 0.7788 MB / 0.5922 GB, free: 98.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 2.484e-05/0.3987, allocations: 303 kB / 0.5925 GB, free: 98.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/0.4007, allocations: 1.841 MB / 0.5943 GB, free: 98.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002376/0.4031, allocations: 2.843 MB / 0.5971 GB, free: 97.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004821/0.4079, allocations: 4.973 MB / 0.6019 GB, free: 96.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/0.408, allocations: 8.656 kB / 0.6019 GB, free: 96.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01009/0.418, allocations: 6.845 MB / 0.6086 GB, free: 95.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.4181, allocations: 18.53 kB / 0.6086 GB, free: 95.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.329e-05/0.4181, allocations: 28.53 kB / 0.6087 GB, free: 95.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005142/0.4232, allocations: 2.287 MB / 0.6109 GB, free: 94.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/0.425, allocations: 0.8919 MB / 0.6118 GB, free: 94.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/0.4381, allocations: 17.54 MB / 0.6289 GB, free: 81.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.4398, allocations: 133.4 kB / 0.629 GB, free: 81.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/0.4401, allocations: 232.6 kB / 0.6293 GB, free: 81.13 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (469): * Single equations (assignments): 460 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(3,26), (1,3), (1,6), (1,2), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001009/0.4411, allocations: 0.6015 MB / 0.6298 GB, free: 80.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003626/0.4415, allocations: 291.1 kB / 0.6301 GB, free: 80.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00881/0.4503, allocations: 6.582 MB / 0.6365 GB, free: 78.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.4503, allocations: 41.25 kB / 0.6366 GB, free: 78.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.4503, allocations: 5.062 kB / 0.6366 GB, free: 78.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.338e-05/0.4503, allocations: 29.41 kB / 0.6366 GB, free: 78.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/0.4621, allocations: 10.1 MB / 0.6465 GB, free: 72.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.4621, allocations: 3.562 kB / 0.6465 GB, free: 72.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/0.4634, allocations: 0.6543 MB / 0.6471 GB, free: 72.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00413/0.4676, allocations: 2.013 MB / 0.6491 GB, free: 71.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001872/0.4678, allocations: 135.9 kB / 0.6492 GB, free: 71.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/0.478, allocations: 16.17 MB / 0.665 GB, free: 54.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.478, allocations: 11.94 kB / 0.665 GB, free: 54.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009869/0.4879, allocations: 8.504 MB / 0.6733 GB, free: 45.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.4889, allocations: 0.6406 MB / 0.6739 GB, free: 44.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/0.4892, allocations: 84 kB / 0.674 GB, free: 44.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009013/0.4901, allocations: 95.92 kB / 0.6741 GB, free: 44.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004581/0.4905, allocations: 350 kB / 0.6745 GB, free: 44.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/0.4907, allocations: 169.2 kB / 0.6746 GB, free: 44.29 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008558/0.4916, allocations: 1.121 MB / 0.6757 GB, free: 43.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4916, allocations: 0 / 0.6757 GB, free: 43.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004113/0.4957, allocations: 2.209 MB / 0.6779 GB, free: 41.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (blood_erythrocytes.temperature,blood_erythrocytes.mass,blood_plasma.temperature,blood_plasma.mass,HCO3.logn,CO2.logn,H2O.logn,HCO3_E.logn,CO2_E.logn,H2O_E.logn,Cl_E.logn,Cl.logn,others_E.logn,others_P.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 (354): * Single equations (assignments): 345 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,8), (4,30), (1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01274/0.5084, allocations: 11.31 MB / 0.6889 GB, free: 30.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005672/0.5141, allocations: 5.588 MB / 0.6944 GB, free: 24.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5141, allocations: 6.625 kB / 0.6944 GB, free: 24.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00282/0.5169, allocations: 3.361 MB / 0.6977 GB, free: 21.44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.5185, allocations: 0.5438 MB / 0.6982 GB, free: 20.95 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03464/0.5532, allocations: 31.2 MB / 0.7287 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.5542, allocations: 1.331 MB / 0.73 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001712/0.5559, allocations: 0.6707 MB / 0.7306 GB, free: 3.023 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/0.5575, allocations: 1.551 MB / 0.7321 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of SimCode: time 1.062e-06/0.5575, allocations: 1.688 kB / 0.7321 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2982/0.8557, allocations: 115.6 MB / 0.8451 GB, free: 120.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.25, allocations: 17.36 kB / 0.8451 GB, free: 120.9 MB / 0.5417 GB " [Timeout remaining time 647] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.30160727724433] Failed to read output from testmodel.py, exit status != 0: 12.537869130261242 12.39527656 12.269983031 Calling exit ...