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.00129/0.00129, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00164/0.00164, allocations: 211.9 kB / 22.25 MB, free: 5.129 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.969 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.1425/0.1425, allocations: 23.89 MB / 336.3 MB, free: 11.15 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.002218/0.002218, allocations: 67.91 kB / 471.2 MB, free: 7.621 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3352, allocations: 59.87 MB / 0.5187 GB, free: 9.617 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.04739/0.3826, allocations: 35.16 MB / 0.553 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06192/0.4445, allocations: 47.74 MB / 0.5996 GB, free: 7.039 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003004/0.4475, allocations: 55.5 kB / 0.5997 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003763/0.4512, allocations: 1.02 MB / 0.6007 GB, free: 5.957 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01244/0.4637, allocations: 3.764 MB / 0.6043 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0194/0.4831, allocations: 6.493 MB / 0.6107 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007507/0.4906, allocations: 4.551 MB / 0.6151 GB, free: 7.062 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003861/0.4944, allocations: 2.234 MB / 0.6173 GB, free: 4.773 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003899/0.4983, allocations: 2.288 MB / 0.6196 GB, free: 2.48 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004764/0.5031, allocations: 2.617 MB / 0.6221 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001443/0.5045, allocations: 420 kB / 0.6225 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01676/0.5213, allocations: 5.355 MB / 0.6277 GB, free: 10.08 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001742/0.523, allocations: 0.9893 MB / 0.6287 GB, free: 9.09 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00303/0.5261, allocations: 2.038 MB / 0.6307 GB, free: 7.043 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02814/0.5542, allocations: 10.23 MB / 0.6407 GB, free: 12.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.5542, allocations: 0 / 0.6407 GB, free: 12.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5542, allocations: 0 / 0.6407 GB, free: 12.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001323/0.5544, allocations: 0 / 0.6407 GB, free: 12.77 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.011/0.5654, allocations: 4.765 MB / 0.6453 GB, free: 7.945 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.5654, allocations: 8.031 kB / 0.6453 GB, free: 7.938 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005196/0.5659, allocations: 430.7 kB / 0.6458 GB, free: 7.504 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003634/0.5696, allocations: 0.8526 MB / 0.6466 GB, free: 6.648 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003024/0.5726, allocations: 1.612 MB / 0.6482 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002914/0.5729, allocations: 349.7 kB / 0.6485 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005474/0.5734, allocations: 328.2 kB / 0.6488 GB, free: 4.305 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007098/0.5805, allocations: 4.551 MB / 0.6533 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.592e-05/0.5806, allocations: 3.984 kB / 0.6533 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003117/0.5809, allocations: 128 kB / 0.6534 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.013e-05/0.5809, allocations: 79.94 kB / 0.6535 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00936/0.5903, allocations: 6.236 MB / 0.6595 GB, free: 9.23 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.02434/0.6146, allocations: 14.09 MB / 0.6733 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009058/0.6237, allocations: 5.414 MB / 0.6786 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003275/0.627, allocations: 2.059 MB / 0.6806 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01979/0.6468, allocations: 9.643 MB / 0.69 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.677e-05/0.6468, allocations: 60.8 kB / 0.6901 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002054/0.6489, allocations: 469.7 kB / 0.6905 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 6.402e-06/0.6489, allocations: 0 / 0.6905 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of matching and sorting (n=387): time 0.08818/0.7371, allocations: 23.35 MB / 0.7133 GB, free: 1.516 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.823e-05/0.7372, allocations: 94.45 kB / 0.7134 GB, free: 1.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/0.7396, allocations: 1.72 MB / 0.7151 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007418/0.7403, allocations: 93.64 kB / 0.7152 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.7414, allocations: 1.352 MB / 0.7165 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001676/0.743, allocations: 1.379 MB / 0.7179 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001227/0.7443, allocations: 0.7759 MB / 0.7186 GB, free: 12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.7444, allocations: 305.1 kB / 0.7189 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003111/0.7475, allocations: 1.836 MB / 0.7207 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004131/0.7516, allocations: 2.854 MB / 0.7235 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008283/0.7599, allocations: 4.971 MB / 0.7283 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.713e-05/0.7599, allocations: 8 kB / 0.7283 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.2367/0.9967, allocations: 6.835 MB / 0.735 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.079e-05/0.9967, allocations: 19.69 kB / 0.735 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.689e-05/0.9968, allocations: 29.78 kB / 0.7351 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01116/1.008, allocations: 2.291 MB / 0.7373 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003775/1.012, allocations: 0.8928 MB / 0.7382 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02368/1.035, allocations: 17.7 MB / 0.7555 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003298/1.039, allocations: 138.4 kB / 0.7556 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000553/1.039, allocations: 236.6 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.001378/1.041, allocations: 0.6019 MB / 0.7564 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006998/1.041, allocations: 288.7 kB / 0.7567 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01639/1.058, allocations: 6.586 MB / 0.7631 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.03e-05/1.058, allocations: 44.47 kB / 0.7632 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.277e-05/1.058, allocations: 5.156 kB / 0.7632 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.283e-05/1.058, allocations: 22.36 kB / 0.7632 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02165/1.08, allocations: 10.67 MB / 0.7736 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/1.08, allocations: 9.219 kB / 0.7736 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00265/1.082, allocations: 0.6466 MB / 0.7742 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008682/1.091, allocations: 2.024 MB / 0.7762 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006661/1.092, allocations: 138.5 kB / 0.7763 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0178/1.109, allocations: 16.32 MB / 0.7923 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.109, allocations: 3.531 kB / 0.7923 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01694/1.126, allocations: 8.515 MB / 0.8006 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/1.128, allocations: 0.6404 MB / 0.8012 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004235/1.128, allocations: 79.94 kB / 0.8013 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/1.13, allocations: 103.3 kB / 0.8014 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005939/1.131, allocations: 357.1 kB / 0.8017 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002546/1.131, allocations: 159.9 kB / 0.8019 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001109/1.132, allocations: 1.125 MB / 0.803 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.132, allocations: 0 / 0.803 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005565/1.138, allocations: 2.204 MB / 0.8051 GB, free: 122.6 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.01978/1.157, allocations: 11.22 MB / 0.8161 GB, free: 112 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009255/1.167, allocations: 5.599 MB / 0.8216 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.167, allocations: 0 / 0.8216 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005018/1.172, 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.002412/1.174, allocations: 0.5586 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.05461/1.229, 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.001136/1.23, allocations: 1.884 MB / 0.8578 GB, free: 68.33 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002529/1.232, allocations: 0.6676 MB / 0.8585 GB, free: 67.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001736/1.234, allocations: 1.549 MB / 0.86 GB, free: 66.31 MB / 0.5606 GB Notification: Performance of SimCode: time 8.42e-07/1.234, allocations: 0 / 0.86 GB, free: 66.31 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4225/1.657, allocations: 116.4 MB / 0.9737 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 48.24/49.9, allocations: 10.55 kB / 0.9737 GB, free: 186.8 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 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: 53.113403864903376] Failed to read output from testmodel.py, exit status != 0: 50.08244301797822 50.098444572 49.540931187 Calling exit ...