Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.000705/0.000705, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007296/0.0007296, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.8539/0.8539, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.08236/0.08236, allocations: 17.45 MB / 276.6 MB, free: 11.76 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.CarbonDioxideInBlood,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 411.6 MB, free: 248 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.661e-05, allocations: 2.281 kB / 411.6 MB, free: 244 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.2699/0.2699, allocations: 33.62 MB / 445.2 MB, free: 43.7 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.02294/0.2929, allocations: 41.74 MB / 487 MB, free: 20.52 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.2946, allocations: 50.06 kB / 487 MB, free: 20.49 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.2962, allocations: 0.9463 MB / 488 MB, free: 19.98 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007019/0.3032, allocations: 3.84 MB / 491.8 MB, free: 17.67 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01094/0.3141, allocations: 6.673 MB / 498.5 MB, free: 13.69 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.00415/0.3183, allocations: 4.688 MB / 0.4914 GB, free: 11.32 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002371/0.3206, allocations: 2.235 MB / 0.4936 GB, free: 10.25 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003687/0.3243, allocations: 3.147 MB / 0.4966 GB, free: 9.07 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003211/0.3275, allocations: 2.112 MB / 0.4987 GB, free: 8.512 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0008169/0.3284, allocations: 420.7 kB / 0.4991 GB, free: 8.512 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01113/0.3395, allocations: 5.065 MB / 0.504 GB, free: 7.344 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001497/0.341, allocations: 1.003 MB / 0.505 GB, free: 6.707 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00246/0.3434, allocations: 1.5 MB / 0.5065 GB, free: 6.059 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01507/0.3585, allocations: 10.89 MB / 0.5171 GB, free: 60 kB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3585, allocations: 0 / 0.5171 GB, free: 60 kB / 410.8 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3585, allocations: 0 / 0.5171 GB, free: 60 kB / 410.8 MB Notification: Performance of Transformations before backend: time 7.55e-05/0.3586, allocations: 4 kB / 0.5171 GB, free: 56 kB / 410.8 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.006151/0.3647, allocations: 4.718 MB / 0.5217 GB, free: 12.93 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3648, allocations: 10.72 kB / 0.5218 GB, free: 12.93 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003483/0.3651, allocations: 422.7 kB / 0.5222 GB, free: 12.6 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/0.3673, allocations: 0.8519 MB / 0.523 GB, free: 12.2 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.3693, allocations: 1.614 MB / 0.5246 GB, free: 10.99 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.3694, allocations: 356.1 kB / 0.5249 GB, free: 10.75 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003321/0.3698, allocations: 330 kB / 0.5252 GB, free: 10.64 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004262/0.374, allocations: 4.546 MB / 0.5297 GB, free: 7.977 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.828e-05/0.3741, allocations: 192 / 0.5297 GB, free: 7.977 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000224/0.3743, allocations: 136.4 kB / 0.5298 GB, free: 7.871 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.3743, allocations: 75.25 kB / 0.5299 GB, free: 7.871 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005452/0.3798, allocations: 6.168 MB / 0.5359 GB, free: 5.066 MB / 426.8 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.01414/0.3939, allocations: 12.03 MB / 0.5476 GB, free: 9.398 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005447/0.3994, allocations: 5.312 MB / 0.5528 GB, free: 4.105 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002261/0.4016, allocations: 2.063 MB / 0.5548 GB, free: 2.035 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01181/0.4134, allocations: 9.124 MB / 0.5637 GB, free: 8.871 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.4135, allocations: 64.78 kB / 0.5638 GB, free: 8.797 MB / 458.8 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001192/0.4147, allocations: 461.8 kB / 0.5643 GB, free: 8.344 MB / 458.8 MB Notification: Performance of pre-optimization done (n=284): time 9.308e-06/0.4147, allocations: 0 / 0.5643 GB, free: 8.344 MB / 458.8 MB Notification: Performance of matching and sorting (n=387): time 0.04368/0.4584, allocations: 23.36 MB / 0.5871 GB, free: 0.8125 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.4584, allocations: 90.45 kB / 0.5872 GB, free: 0.7109 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.4599, allocations: 1.772 MB / 0.5889 GB, free: 14.89 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001877/0.4601, allocations: 89.69 kB / 0.589 GB, free: 14.8 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005702/0.4607, allocations: 1.336 MB / 0.5903 GB, free: 13.45 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007313/0.4614, allocations: 1.355 MB / 0.5916 GB, free: 12.08 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008009/0.4622, allocations: 0.7798 MB / 0.5924 GB, free: 11.29 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.828e-05/0.4623, allocations: 301.1 kB / 0.5926 GB, free: 10.99 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001913/0.4642, allocations: 1.839 MB / 0.5944 GB, free: 9.145 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002426/0.4666, allocations: 2.85 MB / 0.5972 GB, free: 5.859 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005228/0.4719, allocations: 4.967 MB / 0.6021 GB, free: 476 kB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.623e-05/0.4719, allocations: 12 kB / 0.6021 GB, free: 464 kB / 490.8 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01059/0.4825, allocations: 6.853 MB / 0.6088 GB, free: 9.547 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.4825, allocations: 16 kB / 0.6088 GB, free: 9.531 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.084e-05/0.4826, allocations: 28 kB / 0.6088 GB, free: 9.504 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00516/0.4877, allocations: 2.276 MB / 0.611 GB, free: 7.203 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/0.4898, allocations: 0.8932 MB / 0.6119 GB, free: 6.309 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/0.5057, allocations: 17.54 MB / 0.6291 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/0.5079, allocations: 140 kB / 0.6292 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003587/0.5082, allocations: 226.3 kB / 0.6294 GB, free: 3.566 MB / 0.5105 GB 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.001206/0.5095, allocations: 0.6105 MB / 0.63 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005169/0.51, allocations: 286.1 kB / 0.6303 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1591/0.6691, allocations: 6.576 MB / 0.6367 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/0.6691, allocations: 51.41 kB / 0.6367 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.6691, allocations: 3.031 kB / 0.6367 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.322e-05/0.6692, allocations: 23.58 kB / 0.6368 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01233/0.6815, allocations: 10.09 MB / 0.6466 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.6815, allocations: 9.688 kB / 0.6466 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.683, allocations: 0.6522 MB / 0.6473 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004462/0.6875, allocations: 2.024 MB / 0.6492 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003908/0.6879, allocations: 135.2 kB / 0.6494 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/0.6988, allocations: 16.16 MB / 0.6652 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6988, allocations: 7.062 kB / 0.6652 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/0.7099, allocations: 8.503 MB / 0.6735 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/0.7114, allocations: 0.6404 MB / 0.6741 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004359/0.7118, allocations: 86.09 kB / 0.6742 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.713, allocations: 89.23 kB / 0.6743 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000592/0.7136, allocations: 355.7 kB / 0.6746 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002583/0.7138, allocations: 162.1 kB / 0.6748 GB, free: 136 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001206/0.715, allocations: 1.122 MB / 0.6758 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.715, allocations: 0 / 0.6758 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005257/0.7203, allocations: 2.204 MB / 0.678 GB, free: 135.3 MB / 0.5105 GB 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.0153/0.7356, allocations: 11.31 MB / 0.689 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007189/0.7428, allocations: 5.587 MB / 0.6945 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.7428, allocations: 1.781 kB / 0.6945 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003668/0.7465, allocations: 3.354 MB / 0.6978 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.7484, allocations: 0.5549 MB / 0.6983 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03551/0.7839, allocations: 31.23 MB / 0.7288 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008518/0.7847, allocations: 1.33 MB / 0.7301 GB, free: 99.86 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001742/0.7865, allocations: 0.6692 MB / 0.7308 GB, free: 99.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/0.7877, allocations: 1.557 MB / 0.7323 GB, free: 98.11 MB / 0.5105 GB Notification: Performance of SimCode: time 1.102e-06/0.7877, allocations: 0 / 0.7323 GB, free: 98.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2402/1.028, allocations: 115.6 MB / 0.8452 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.73, allocations: 3.266 kB / 0.8452 GB, free: 142.2 MB / 0.5105 GB " [Timeout remaining time 648] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.sim & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.572350136004388] Failed to read output from testmodel.py, exit status != 0: 11.873193211853504 11.880371553 11.520129679 Calling exit ...