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.001303/0.001303, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001448/0.001448, allocations: 217.8 kB / 23.04 MB, free: 5.078 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] 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.1345/0.1345, allocations: 23.86 MB / 337.1 MB, free: 11.17 MB / 270.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood",fmuType="cs",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.002079/0.002079, allocations: 67.91 kB / 472 MB, free: 7.656 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2955, allocations: 59.85 MB / 0.5194 GB, free: 9.598 MB / 382.1 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.04468/0.3401, allocations: 34.99 MB / 0.5535 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05998/0.4001, allocations: 47.74 MB / 0.6001 GB, free: 7.273 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002586/0.4027, allocations: 51.56 kB / 0.6002 GB, free: 7.223 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002961/0.4057, allocations: 1.024 MB / 0.6012 GB, free: 6.191 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01122/0.4169, allocations: 3.768 MB / 0.6049 GB, free: 2.398 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01708/0.434, allocations: 6.49 MB / 0.6112 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007099/0.4411, allocations: 4.547 MB / 0.6157 GB, free: 7.301 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003227/0.4443, allocations: 2.242 MB / 0.6178 GB, free: 5.004 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003703/0.448, allocations: 2.284 MB / 0.6201 GB, free: 2.715 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004541/0.4525, allocations: 2.613 MB / 0.6226 GB, free: 96 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009079/0.4534, allocations: 424 kB / 0.623 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01535/0.4688, allocations: 5.355 MB / 0.6283 GB, free: 10.32 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001575/0.4704, allocations: 0.9971 MB / 0.6292 GB, free: 9.316 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002937/0.4733, allocations: 2.03 MB / 0.6312 GB, free: 7.277 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02318/0.4965, allocations: 10.23 MB / 0.6412 GB, free: 13.01 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4965, allocations: 0 / 0.6412 GB, free: 13.01 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4965, allocations: 4 kB / 0.6412 GB, free: 13.01 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001618/0.4966, allocations: 0 / 0.6412 GB, free: 13.01 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.01152/0.5082, allocations: 4.769 MB / 0.6459 GB, free: 8.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.5082, allocations: 12.03 kB / 0.6459 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.154e-05/0.5083, allocations: 82.48 kB / 0.646 GB, free: 8.086 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005868/0.5089, allocations: 426.7 kB / 0.6464 GB, free: 7.656 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003964/0.5129, allocations: 0.8488 MB / 0.6472 GB, free: 6.805 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003165/0.516, allocations: 1.62 MB / 0.6488 GB, free: 5.141 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002993/0.5163, allocations: 345.7 kB / 0.6491 GB, free: 4.777 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000613/0.5169, allocations: 336 kB / 0.6494 GB, free: 4.449 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007875/0.5248, allocations: 4.547 MB / 0.6539 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-05/0.5249, allocations: 0 / 0.6539 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003638/0.5252, allocations: 128 kB / 0.654 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.785e-05/0.5253, allocations: 80 kB / 0.6541 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.5358, allocations: 6.232 MB / 0.6601 GB, free: 9.383 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.02774/0.5635, allocations: 14.09 MB / 0.6739 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/0.5736, allocations: 5.41 MB / 0.6792 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003888/0.5775, allocations: 2.063 MB / 0.6812 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02089/0.5984, allocations: 9.648 MB / 0.6906 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.5984, allocations: 56.8 kB / 0.6907 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002099/0.6005, allocations: 469.8 kB / 0.6911 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 5.6e-06/0.6005, allocations: 0 / 0.6911 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of matching and sorting (n=387): time 0.09193/0.6925, allocations: 23.36 MB / 0.7139 GB, free: 1.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.6925, allocations: 90.45 kB / 0.714 GB, free: 1.559 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002542/0.6951, allocations: 1.728 MB / 0.7157 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007563/0.6958, allocations: 85.7 kB / 0.7158 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.6969, allocations: 1.352 MB / 0.7171 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001592/0.6985, allocations: 1.375 MB / 0.7185 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/0.6998, allocations: 0.7798 MB / 0.7192 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.7, allocations: 305.1 kB / 0.7195 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003267/0.7032, allocations: 1.839 MB / 0.7213 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004309/0.7075, allocations: 2.85 MB / 0.7241 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008271/0.7158, allocations: 4.967 MB / 0.7289 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.049e-05/0.7158, allocations: 12 kB / 0.729 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.2158/0.9316, allocations: 6.837 MB / 0.7356 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.9317, allocations: 18.25 kB / 0.7356 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.908e-05/0.9318, allocations: 29.47 kB / 0.7357 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01143/0.9432, allocations: 2.294 MB / 0.7379 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003831/0.947, allocations: 0.8952 MB / 0.7388 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02372/0.9707, allocations: 17.69 MB / 0.7561 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003167/0.9739, allocations: 146.5 kB / 0.7562 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004335/0.9743, allocations: 227.6 kB / 0.7564 GB, free: 156.6 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.001244/0.9756, allocations: 0.6147 MB / 0.757 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006339/0.9762, allocations: 285.8 kB / 0.7573 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01654/0.9928, allocations: 6.582 MB / 0.7637 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.555e-05/0.9928, allocations: 41.25 kB / 0.7638 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.832e-05/0.9928, allocations: 4.125 kB / 0.7638 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.679e-05/0.9929, allocations: 23.5 kB / 0.7638 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02138/1.014, allocations: 10.67 MB / 0.7742 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.886e-05/1.014, allocations: 3.938 kB / 0.7742 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003149/1.017, allocations: 0.6508 MB / 0.7748 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008995/1.026, allocations: 2.022 MB / 0.7768 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006575/1.027, allocations: 134.8 kB / 0.7769 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01832/1.045, allocations: 16.32 MB / 0.7929 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.045, allocations: 7.469 kB / 0.7929 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01728/1.063, allocations: 8.517 MB / 0.8012 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/1.064, allocations: 0.6401 MB / 0.8018 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004516/1.065, allocations: 76 kB / 0.8019 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/1.067, allocations: 98.66 kB / 0.802 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006225/1.067, allocations: 361 kB / 0.8023 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002907/1.067, allocations: 159.9 kB / 0.8025 GB, free: 126 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001116/1.069, allocations: 1.125 MB / 0.8036 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.069, allocations: 0 / 0.8036 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005245/1.074, allocations: 2.202 MB / 0.8057 GB, free: 123 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.02066/1.094, allocations: 11.23 MB / 0.8167 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009123/1.104, allocations: 5.592 MB / 0.8222 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.104, allocations: 0 / 0.8222 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005188/1.109, allocations: 3.347 MB / 0.8254 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/1.112, allocations: 0.5607 MB / 0.826 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05485/1.166, allocations: 31.33 MB / 0.8566 GB, free: 70.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/1.167, allocations: 1.883 MB / 0.8584 GB, free: 68.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00247/1.17, allocations: 0.6642 MB / 0.8591 GB, free: 68.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001757/1.172, allocations: 1.546 MB / 0.8606 GB, free: 66.61 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/1.172, allocations: 3.938 kB / 0.8606 GB, free: 66.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3984/1.57, allocations: 116.4 MB / 0.9743 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 52.31/53.88, allocations: 5.188 kB / 0.9743 GB, free: 186.7 MB / 0.5919 GB " [Timeout remaining time 606] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 57.224632031982765] Failed to read output from testmodel.py, exit status != 0: 54.127348990994506 54.147653425 53.647183255 Calling exit ...