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.00132/0.00132, allocations: 112.6 kB / 19.7 MB, free: 2.25 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.001555/0.001555, allocations: 219.3 kB / 23.01 MB, free: 5.113 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 8 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.141/0.141, allocations: 23.9 MB / 337.1 MB, free: 11.17 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: translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood") [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.002071/0.002071, allocations: 71.89 kB / 472.5 MB, free: 7.129 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3492, allocations: 59.86 MB / 0.5199 GB, free: 9.801 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.04556/0.3948, allocations: 35.25 MB / 0.5543 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06349/0.4582, allocations: 47.75 MB / 0.6009 GB, free: 6.922 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00445/0.4627, allocations: 47.62 kB / 0.601 GB, free: 6.875 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004055/0.4667, allocations: 1.031 MB / 0.602 GB, free: 5.836 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01254/0.4793, allocations: 3.756 MB / 0.6057 GB, free: 2.055 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01842/0.4977, allocations: 6.493 MB / 0.612 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00784/0.5055, allocations: 4.543 MB / 0.6164 GB, free: 6.957 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003497/0.509, allocations: 2.242 MB / 0.6186 GB, free: 4.66 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003694/0.5127, allocations: 2.28 MB / 0.6209 GB, free: 2.375 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004719/0.5174, allocations: 2.613 MB / 0.6234 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001246/0.5187, allocations: 420 kB / 0.6238 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01652/0.5352, allocations: 5.367 MB / 0.6291 GB, free: 9.969 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001931/0.5371, allocations: 0.9854 MB / 0.63 GB, free: 8.98 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003374/0.5405, allocations: 2.038 MB / 0.632 GB, free: 6.934 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02382/0.5643, allocations: 10.23 MB / 0.642 GB, free: 12.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5643, allocations: 0 / 0.642 GB, free: 12.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5643, allocations: 0 / 0.642 GB, free: 12.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000135/0.5645, allocations: 0 / 0.642 GB, free: 12.66 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.01169/0.5762, allocations: 4.773 MB / 0.6467 GB, free: 7.832 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5762, allocations: 12.03 kB / 0.6467 GB, free: 7.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003925/0.5801, allocations: 0.8448 MB / 0.6475 GB, free: 6.973 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003538/0.5837, allocations: 1.616 MB / 0.6491 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003224/0.584, allocations: 345.7 kB / 0.6494 GB, free: 4.949 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006928/0.5847, allocations: 336.2 kB / 0.6497 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008405/0.5931, allocations: 4.551 MB / 0.6542 GB, free: 0 / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.519e-05/0.5931, allocations: 0 / 0.6542 GB, free: 0 / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000344/0.5935, allocations: 128.1 kB / 0.6543 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.44e-05/0.5936, allocations: 79.94 kB / 0.6544 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.6044, allocations: 6.228 MB / 0.6604 GB, free: 9.555 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.02884/0.6332, allocations: 14.09 MB / 0.6742 GB, free: 11.04 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009967/0.6432, allocations: 5.414 MB / 0.6795 GB, free: 5.637 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00397/0.6471, allocations: 2.056 MB / 0.6815 GB, free: 3.574 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0221/0.6692, allocations: 9.656 MB / 0.6909 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.215e-05/0.6693, allocations: 56.8 kB / 0.691 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002095/0.6714, allocations: 469.8 kB / 0.6914 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 7.173e-06/0.6714, allocations: 3.938 kB / 0.6914 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of matching and sorting (n=387): time 0.09315/0.7645, allocations: 23.35 MB / 0.7142 GB, free: 1.828 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.7646, allocations: 90.45 kB / 0.7143 GB, free: 1.727 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00249/0.7671, allocations: 1.724 MB / 0.716 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006785/0.7678, allocations: 97.64 kB / 0.7161 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.7689, allocations: 1.344 MB / 0.7174 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001532/0.7704, allocations: 1.379 MB / 0.7188 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001264/0.7717, allocations: 0.7798 MB / 0.7195 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.7718, allocations: 305.1 kB / 0.7198 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003302/0.7751, allocations: 1.839 MB / 0.7216 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004367/0.7795, allocations: 2.85 MB / 0.7244 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008632/0.7881, allocations: 4.963 MB / 0.7292 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.852e-05/0.7881, allocations: 8 kB / 0.7293 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.2731/1.061, allocations: 6.842 MB / 0.7359 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.038e-05/1.061, allocations: 20.81 kB / 0.736 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.555e-05/1.061, allocations: 30.06 kB / 0.736 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01177/1.073, allocations: 2.285 MB / 0.7382 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003988/1.077, allocations: 0.8923 MB / 0.7391 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02474/1.102, allocations: 17.7 MB / 0.7564 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/1.105, allocations: 152.1 kB / 0.7565 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000629/1.106, allocations: 228.8 kB / 0.7567 GB, free: 156.3 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.001446/1.107, allocations: 0.6045 MB / 0.7573 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007391/1.108, allocations: 287.1 kB / 0.7576 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01695/1.125, allocations: 6.574 MB / 0.764 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-05/1.125, allocations: 43.19 kB / 0.7641 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-05/1.125, allocations: 6.062 kB / 0.7641 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001155/1.125, allocations: 23.95 kB / 0.7641 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02327/1.148, allocations: 10.67 MB / 0.7745 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.054e-05/1.148, allocations: 3.969 kB / 0.7745 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002952/1.151, allocations: 0.6611 MB / 0.7752 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009099/1.161, allocations: 2.01 MB / 0.7771 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007186/1.161, allocations: 135.1 kB / 0.7772 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01874/1.18, allocations: 16.33 MB / 0.7932 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.18, allocations: 3.812 kB / 0.7932 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01838/1.198, allocations: 8.511 MB / 0.8015 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/1.2, allocations: 0.6402 MB / 0.8021 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005067/1.201, allocations: 84 kB / 0.8022 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002046/1.203, allocations: 95.97 kB / 0.8023 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006162/1.203, allocations: 353.1 kB / 0.8026 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002827/1.204, allocations: 159.9 kB / 0.8028 GB, free: 126 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001144/1.205, allocations: 1.127 MB / 0.8039 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.205, allocations: 0 / 0.8039 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006097/1.211, allocations: 2.204 MB / 0.8061 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.004163/1.215, allocations: 2.26 MB / 0.8083 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009957/1.225, allocations: 5.597 MB / 0.8137 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/1.225, allocations: 0 / 0.8137 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005773/1.231, allocations: 3.353 MB / 0.817 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/1.234, allocations: 0.5504 MB / 0.8175 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/1.244, allocations: 6.844 MB / 0.8242 GB, free: 105 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/1.245, allocations: 1.879 MB / 0.8261 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00159/1.247, allocations: 0.5537 MB / 0.8266 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/1.247, allocations: 0 / 0.8266 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.3929/1.639, allocations: 169.9 MB / 0.9925 GB, free: 181.8 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.139768488996197] Failed to read output from testmodel.py, exit status != 0: 1.649428719014395 1.659237658 1.092195658 Calling exit ...