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.001317/0.001317, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001429/0.001429, allocations: 208.7 kB / 22.25 MB, free: 5.086 MB / 14.72 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 1.374/1.374, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.1313/0.1313, allocations: 23.89 MB / 336.3 MB, free: 11.14 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 71.89 kB / 471.2 MB, free: 7.59 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.295, allocations: 59.87 MB / 0.5187 GB, free: 9.574 MB / 382.1 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.04607/0.3411, allocations: 35.16 MB / 0.553 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05817/0.3992, allocations: 47.74 MB / 0.5996 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00273/0.402, allocations: 51.56 kB / 0.5997 GB, free: 6.957 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003194/0.4052, allocations: 1.02 MB / 0.6007 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.4166, allocations: 3.772 MB / 0.6044 GB, free: 2.133 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01698/0.4335, allocations: 6.493 MB / 0.6107 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006975/0.4405, allocations: 4.543 MB / 0.6151 GB, free: 7.035 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003185/0.4437, allocations: 2.234 MB / 0.6173 GB, free: 4.746 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003608/0.4473, allocations: 2.291 MB / 0.6196 GB, free: 2.449 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004468/0.4518, allocations: 2.609 MB / 0.6221 GB, free: 15.83 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.4528, allocations: 424 kB / 0.6225 GB, free: 15.42 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0154/0.4682, allocations: 5.359 MB / 0.6277 GB, free: 10.05 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001498/0.4697, allocations: 0.9893 MB / 0.6287 GB, free: 9.059 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002693/0.4724, allocations: 2.034 MB / 0.6307 GB, free: 7.016 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02217/0.4946, allocations: 10.23 MB / 0.6407 GB, free: 12.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4946, allocations: 4 kB / 0.6407 GB, free: 12.74 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4946, allocations: 0 / 0.6407 GB, free: 12.74 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.674e-05/0.4947, allocations: 0 / 0.6407 GB, free: 12.74 MB / 494.1 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.0107/0.5054, allocations: 4.777 MB / 0.6454 GB, free: 7.906 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.5055, allocations: 8.031 kB / 0.6454 GB, free: 7.898 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005332/0.506, allocations: 426.7 kB / 0.6458 GB, free: 7.469 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003698/0.5097, allocations: 0.8449 MB / 0.6466 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003126/0.5128, allocations: 1.612 MB / 0.6482 GB, free: 4.965 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002933/0.5131, allocations: 349.6 kB / 0.6485 GB, free: 4.598 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005758/0.5137, allocations: 332.2 kB / 0.6488 GB, free: 4.273 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007208/0.5209, allocations: 4.551 MB / 0.6533 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.963e-05/0.521, allocations: 0 / 0.6533 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003188/0.5213, allocations: 128 kB / 0.6534 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-05/0.5213, allocations: 76 kB / 0.6535 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009817/0.5311, allocations: 6.232 MB / 0.6595 GB, free: 9.211 MB / 0.4981 GB 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.02519/0.5563, allocations: 14.1 MB / 0.6733 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009219/0.5656, allocations: 5.403 MB / 0.6786 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003276/0.5688, allocations: 2.059 MB / 0.6806 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01927/0.5881, allocations: 9.639 MB / 0.69 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.999e-05/0.5882, allocations: 64.78 kB / 0.6901 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001891/0.59, allocations: 473.7 kB / 0.6905 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 5.209e-06/0.59, allocations: 0 / 0.6905 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of matching and sorting (n=387): time 0.08725/0.6773, allocations: 23.36 MB / 0.7133 GB, free: 1.484 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.6774, allocations: 94.45 kB / 0.7134 GB, free: 1.379 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.6796, allocations: 1.72 MB / 0.7151 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004503/0.68, allocations: 89.7 kB / 0.7152 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.6811, allocations: 1.352 MB / 0.7165 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00139/0.6824, allocations: 1.367 MB / 0.7178 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001211/0.6837, allocations: 0.7798 MB / 0.7186 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.6838, allocations: 309 kB / 0.7189 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003072/0.6868, allocations: 1.839 MB / 0.7207 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004034/0.6909, allocations: 2.846 MB / 0.7235 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007806/0.6987, allocations: 4.975 MB / 0.7283 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.011e-05/0.6987, allocations: 11.94 kB / 0.7283 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.2091/0.9078, allocations: 6.838 MB / 0.735 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.9078, allocations: 17.95 kB / 0.735 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.519e-05/0.9079, allocations: 30.19 kB / 0.7351 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01114/0.919, allocations: 2.288 MB / 0.7373 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003623/0.9226, allocations: 0.8885 MB / 0.7382 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02327/0.9459, allocations: 17.71 MB / 0.7555 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003239/0.9492, allocations: 136.2 kB / 0.7556 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004939/0.9497, allocations: 231.5 kB / 0.7558 GB, free: 156.2 MB / 0.5606 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.00136/0.951, allocations: 0.6092 MB / 0.7564 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006786/0.9517, allocations: 290 kB / 0.7567 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01638/0.9681, allocations: 6.584 MB / 0.7631 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-05/0.9681, allocations: 41.25 kB / 0.7632 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-05/0.9681, allocations: 4.125 kB / 0.7632 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.877e-05/0.9682, allocations: 22.89 kB / 0.7632 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02089/0.9891, allocations: 10.66 MB / 0.7736 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/0.9891, allocations: 3.938 kB / 0.7736 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00249/0.9916, allocations: 0.6535 MB / 0.7742 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008574/1, allocations: 2.014 MB / 0.7762 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004225/1.001, allocations: 139 kB / 0.7763 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01745/1.018, allocations: 16.33 MB / 0.7923 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.018, allocations: 3.938 kB / 0.7923 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01663/1.035, allocations: 8.511 MB / 0.8006 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/1.036, allocations: 0.6446 MB / 0.8012 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004418/1.037, allocations: 82.66 kB / 0.8013 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.039, allocations: 95.97 kB / 0.8014 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000593/1.039, allocations: 353.2 kB / 0.8017 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002871/1.04, allocations: 166.5 kB / 0.8019 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001155/1.041, allocations: 1.121 MB / 0.803 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.041, allocations: 0 / 0.803 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005711/1.046, allocations: 2.203 MB / 0.8051 GB, free: 122.7 MB / 0.5606 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.02067/1.067, allocations: 11.23 MB / 0.8161 GB, free: 112 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008996/1.076, allocations: 5.601 MB / 0.8216 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.076, allocations: 0 / 0.8216 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005204/1.081, allocations: 3.349 MB / 0.8248 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/1.084, allocations: 0.5558 MB / 0.8254 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05536/1.139, allocations: 31.32 MB / 0.856 GB, free: 70.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/1.14, allocations: 1.883 MB / 0.8578 GB, free: 68.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002377/1.143, allocations: 0.6711 MB / 0.8585 GB, free: 67.87 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001718/1.144, allocations: 1.546 MB / 0.86 GB, free: 66.32 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/1.144, allocations: 0 / 0.86 GB, free: 66.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3846/1.529, allocations: 116.4 MB / 0.9736 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 48.13/49.66, allocations: 9.516 kB / 0.9737 GB, free: 186.9 MB / 0.5919 GB " [Timeout remaining time 610] (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 sys.exit(0), Time elapsed: 52.572734043998935] Failed to read output from testmodel.py, exit status != 0: 49.847362217995396 49.861110094 49.363666949 Calling exit ...