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: 101.5 kB / 19.73 MB, free: 2.23 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.00153/0.00153, allocations: 212.5 kB / 23.04 MB, free: 5.074 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.1371/0.1371, allocations: 23.87 MB / 337.1 MB, free: 11.21 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,fileNamePrefix="Chemical_master_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.002204/0.002204, allocations: 63.91 kB / 472 MB, free: 7.676 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2985, allocations: 59.87 MB / 0.5194 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.04826/0.3468, allocations: 34.98 MB / 0.5536 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06625/0.413, allocations: 47.75 MB / 0.6002 GB, free: 7.262 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002955/0.416, allocations: 51.56 kB / 0.6002 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00366/0.4196, allocations: 1.02 MB / 0.6012 GB, free: 6.184 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01276/0.4324, allocations: 3.779 MB / 0.6049 GB, free: 2.379 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01848/0.4509, allocations: 6.478 MB / 0.6113 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007389/0.4583, allocations: 4.539 MB / 0.6157 GB, free: 7.301 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003451/0.4617, allocations: 2.246 MB / 0.6179 GB, free: 5 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003645/0.4654, allocations: 2.276 MB / 0.6201 GB, free: 2.719 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004634/0.47, allocations: 2.621 MB / 0.6227 GB, free: 92 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001196/0.4712, allocations: 420 kB / 0.6231 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0166/0.4878, allocations: 5.355 MB / 0.6283 GB, free: 10.32 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001904/0.4897, allocations: 0.9893 MB / 0.6293 GB, free: 9.324 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003544/0.4932, allocations: 2.034 MB / 0.6313 GB, free: 7.281 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02648/0.5197, allocations: 10.23 MB / 0.6412 GB, free: 13.01 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.5197, allocations: 0 / 0.6412 GB, free: 13.01 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5197, allocations: 4 kB / 0.6413 GB, free: 13 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000235/0.52, allocations: 0 / 0.6413 GB, free: 13 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.01436/0.5343, allocations: 4.769 MB / 0.6459 GB, free: 8.176 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.5344, allocations: 8.031 kB / 0.6459 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001014/0.5345, allocations: 86.48 kB / 0.646 GB, free: 8.082 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007986/0.5353, allocations: 434.7 kB / 0.6464 GB, free: 7.645 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004155/0.5394, allocations: 0.841 MB / 0.6472 GB, free: 6.801 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003655/0.5431, allocations: 1.62 MB / 0.6488 GB, free: 5.137 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003841/0.5435, allocations: 349.7 kB / 0.6491 GB, free: 4.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/0.5445, allocations: 340 kB / 0.6495 GB, free: 4.438 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009804/0.5543, allocations: 4.543 MB / 0.6539 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.08e-05/0.5544, allocations: 0 / 0.6539 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004036/0.5548, allocations: 128 kB / 0.654 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.026e-05/0.5549, allocations: 76 kB / 0.6541 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01178/0.5667, allocations: 6.235 MB / 0.6602 GB, free: 9.375 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.03183/0.5985, allocations: 14.08 MB / 0.6739 GB, free: 10.88 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/0.6091, allocations: 5.417 MB / 0.6792 GB, free: 5.465 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00417/0.6132, allocations: 2.059 MB / 0.6812 GB, free: 3.398 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02216/0.6354, allocations: 9.648 MB / 0.6907 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/0.6354, allocations: 60.8 kB / 0.6907 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002166/0.6376, allocations: 465.7 kB / 0.6912 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 6.923e-06/0.6376, allocations: 11.94 kB / 0.6912 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of matching and sorting (n=387): time 0.09356/0.7312, allocations: 23.35 MB / 0.714 GB, free: 1.652 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.7313, allocations: 94.45 kB / 0.7141 GB, free: 1.547 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002507/0.7338, allocations: 1.716 MB / 0.7158 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000667/0.7344, allocations: 93.7 kB / 0.7158 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.7355, allocations: 1.34 MB / 0.7172 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001992/0.7375, allocations: 1.379 MB / 0.7185 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001474/0.739, allocations: 0.7798 MB / 0.7193 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.7391, allocations: 305.1 kB / 0.7196 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003472/0.7426, allocations: 1.851 MB / 0.7214 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004589/0.7472, allocations: 2.843 MB / 0.7241 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009228/0.7564, allocations: 4.967 MB / 0.729 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.673e-05/0.7564, allocations: 8 kB / 0.729 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.2182/0.9746, allocations: 6.842 MB / 0.7357 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.9747, allocations: 17.66 kB / 0.7357 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.702e-05/0.9747, allocations: 30.52 kB / 0.7357 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01128/0.986, allocations: 2.295 MB / 0.738 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003728/0.9897, allocations: 0.8901 MB / 0.7388 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02444/1.014, allocations: 17.7 MB / 0.7561 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00331/1.017, allocations: 143.5 kB / 0.7563 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007892/1.018, allocations: 227.2 kB / 0.7565 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.001534/1.02, allocations: 0.6161 MB / 0.7571 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007483/1.021, allocations: 286.5 kB / 0.7573 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01801/1.039, allocations: 6.578 MB / 0.7638 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.01e-05/1.039, allocations: 41.97 kB / 0.7638 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-05/1.039, allocations: 7.25 kB / 0.7638 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001035/1.039, allocations: 23.2 kB / 0.7638 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02238/1.061, allocations: 10.66 MB / 0.7743 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.074e-05/1.061, allocations: 3.969 kB / 0.7743 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002889/1.064, allocations: 0.6566 MB / 0.7749 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008806/1.073, allocations: 2.02 MB / 0.7769 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006777/1.074, allocations: 137.9 kB / 0.777 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01868/1.092, allocations: 16.32 MB / 0.7929 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.092, allocations: 7.188 kB / 0.7929 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01891/1.111, allocations: 8.512 MB / 0.8013 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002024/1.113, allocations: 0.6428 MB / 0.8019 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006704/1.114, allocations: 87.98 kB / 0.802 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/1.116, allocations: 91.97 kB / 0.8021 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007193/1.117, allocations: 353.1 kB / 0.8024 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003304/1.117, allocations: 155.9 kB / 0.8025 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001269/1.118, allocations: 1.132 MB / 0.8037 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.118, allocations: 2.656 kB / 0.8037 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006532/1.125, allocations: 2.203 MB / 0.8058 GB, free: 122.9 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.02239/1.147, allocations: 11.22 MB / 0.8168 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01044/1.158, allocations: 5.596 MB / 0.8222 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.791e-05/1.158, allocations: 6.656 kB / 0.8222 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006208/1.164, allocations: 3.34 MB / 0.8255 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.003578/1.167, allocations: 0.5508 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.06116/1.229, allocations: 31.33 MB / 0.8566 GB, free: 70.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/1.23, allocations: 1.876 MB / 0.8585 GB, free: 68.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00273/1.233, allocations: 0.6708 MB / 0.8591 GB, free: 68.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002103/1.235, allocations: 1.55 MB / 0.8606 GB, free: 66.57 MB / 0.5606 GB Notification: Performance of SimCode: time 1.653e-06/1.235, allocations: 3.938 kB / 0.8606 GB, free: 66.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3979/1.633, allocations: 116.4 MB / 0.9743 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 51.74/53.37, allocations: 10.34 kB / 0.9743 GB, free: 186.7 MB / 0.5919 GB " [Timeout remaining time 606] (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: 56.701078978017904] Failed to read output from testmodel.py, exit status != 0: 53.61201918905135 53.62650345 53.103744758 Calling exit ...