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.001304/0.001304, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001417/0.001417, allocations: 212.8 kB / 22.24 MB, free: 4.855 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.387/1.387, allocations: 230.6 MB / 256 MB, free: 7.812 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.1357/0.1357, allocations: 23.98 MB / 336.4 MB, free: 10.86 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.001975/0.001975, allocations: 63.91 kB / 471.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3004, allocations: 59.9 MB / 0.5192 GB, free: 9.793 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.07846/0.3789, allocations: 33.43 MB / 0.5519 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0582/0.4371, allocations: 41.75 MB / 0.5926 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003168/0.4403, allocations: 51.56 kB / 0.5927 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002854/0.4431, allocations: 0.9304 MB / 0.5936 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01171/0.4548, allocations: 3.702 MB / 0.5972 GB, free: 9.664 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01961/0.4744, allocations: 6.505 MB / 0.6036 GB, free: 3.121 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008438/0.4829, allocations: 4.535 MB / 0.608 GB, free: 14.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003865/0.4867, allocations: 2.211 MB / 0.6102 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003927/0.4907, allocations: 2.288 MB / 0.6124 GB, free: 10 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004413/0.4951, allocations: 2.343 MB / 0.6147 GB, free: 7.652 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009567/0.496, allocations: 420 kB / 0.6151 GB, free: 7.242 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01703/0.5131, allocations: 5.023 MB / 0.62 GB, free: 2.211 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001788/0.5148, allocations: 0.9932 MB / 0.621 GB, free: 1.215 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002884/0.5177, allocations: 1.732 MB / 0.6226 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.023/0.5407, allocations: 10.2 MB / 0.6326 GB, free: 5.238 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.5407, allocations: 0 / 0.6326 GB, free: 5.238 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5407, allocations: 0 / 0.6326 GB, free: 5.238 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.681e-05/0.5408, allocations: 0 / 0.6326 GB, free: 5.238 MB / 478.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.009885/0.5507, allocations: 4.757 MB / 0.6373 GB, free: 432 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.5508, allocations: 12.03 kB / 0.6373 GB, free: 420 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003779/0.5545, allocations: 0.8449 MB / 0.6381 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003295/0.5578, allocations: 1.62 MB / 0.6397 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002949/0.5581, allocations: 345.7 kB / 0.64 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005892/0.5587, allocations: 332.2 kB / 0.6403 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007277/0.566, allocations: 4.547 MB / 0.6448 GB, free: 8.594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.717e-05/0.566, allocations: 0 / 0.6448 GB, free: 8.594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003165/0.5664, allocations: 128 kB / 0.6449 GB, free: 8.469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.521e-05/0.5664, allocations: 87.92 kB / 0.645 GB, free: 8.383 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01007/0.5765, allocations: 6.169 MB / 0.651 GB, free: 2.203 MB / 494.1 MB 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.02506/0.6016, allocations: 11.65 MB / 0.6624 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/0.6118, allocations: 5.309 MB / 0.6675 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003581/0.6154, allocations: 2.06 MB / 0.6696 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02232/0.6377, allocations: 9.107 MB / 0.6785 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.017e-05/0.6378, allocations: 64.8 kB / 0.6785 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001954/0.6397, allocations: 453.9 kB / 0.6789 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=284): time 8.086e-06/0.6398, allocations: 3.938 kB / 0.679 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=387): time 0.09257/0.7323, allocations: 23.34 MB / 0.7017 GB, free: 13.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/0.7324, allocations: 94.45 kB / 0.7018 GB, free: 13.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002585/0.735, allocations: 1.641 MB / 0.7034 GB, free: 12.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008004/0.7358, allocations: 89.7 kB / 0.7035 GB, free: 12.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001232/0.737, allocations: 1.362 MB / 0.7049 GB, free: 10.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002011/0.739, allocations: 1.375 MB / 0.7062 GB, free: 9.285 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002217/0.7413, allocations: 0.7798 MB / 0.707 GB, free: 8.492 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.7414, allocations: 301.1 kB / 0.7072 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003607/0.745, allocations: 1.847 MB / 0.7091 GB, free: 6.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004923/0.7499, allocations: 2.843 MB / 0.7118 GB, free: 3.066 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009047/0.759, allocations: 4.975 MB / 0.7167 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.264e-05/0.759, allocations: 15.94 kB / 0.7167 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01987/0.7789, allocations: 6.822 MB / 0.7234 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.956e-05/0.7789, allocations: 24.03 kB / 0.7234 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.875e-05/0.779, allocations: 28 kB / 0.7234 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01126/0.7903, allocations: 2.283 MB / 0.7256 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00386/0.7941, allocations: 0.8971 MB / 0.7265 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2451/1.039, allocations: 17.38 MB / 0.7435 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002988/1.042, allocations: 140.6 kB / 0.7436 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004616/1.043, allocations: 232.5 kB / 0.7438 GB, free: 162.1 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.001348/1.044, allocations: 0.6033 MB / 0.7444 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006184/1.045, allocations: 276.8 kB / 0.7447 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01622/1.061, allocations: 6.569 MB / 0.7511 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.35e-05/1.061, allocations: 42.28 kB / 0.7512 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.883e-05/1.061, allocations: 8.344 kB / 0.7512 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001562/1.061, allocations: 20.16 kB / 0.7512 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02357/1.085, allocations: 9.755 MB / 0.7607 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.897e-05/1.085, allocations: 7.406 kB / 0.7607 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003025/1.088, allocations: 0.6566 MB / 0.7614 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009245/1.097, allocations: 2.009 MB / 0.7633 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008253/1.098, allocations: 134.8 kB / 0.7634 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01888/1.117, allocations: 16.02 MB / 0.7791 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.117, allocations: 5.156 kB / 0.7791 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01877/1.135, allocations: 8.505 MB / 0.7874 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/1.137, allocations: 0.6246 MB / 0.788 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006406/1.138, allocations: 83.55 kB / 0.7881 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/1.14, allocations: 93.22 kB / 0.7882 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007185/1.141, allocations: 360.2 kB / 0.7885 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003636/1.141, allocations: 162.6 kB / 0.7887 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001228/1.142, allocations: 1.031 MB / 0.7897 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.142, allocations: 2.719 kB / 0.7897 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006353/1.149, allocations: 2.209 MB / 0.7918 GB, free: 135.5 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.004772/1.153, allocations: 2.254 MB / 0.7941 GB, free: 134 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009756/1.163, allocations: 5.6 MB / 0.7995 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.163, allocations: 7.875 kB / 0.7995 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005277/1.168, allocations: 3.349 MB / 0.8028 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/1.171, allocations: 0.5403 MB / 0.8033 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/1.182, allocations: 6.777 MB / 0.8099 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/1.183, allocations: 1.326 MB / 0.8112 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002789/1.186, allocations: 0.6563 MB / 0.8119 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/1.187, allocations: 451.1 kB / 0.8123 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.212e-06/1.187, allocations: 0 / 0.8123 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.0947/1.282, allocations: 90.34 MB / 0.9005 GB, free: 26.23 MB / 0.5606 GB " [Timeout remaining time 659] 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: 9.136706488206983] Failed to read output from testmodel.py, exit status != 0: 1.2899196613579988 1.298244734 0.7552830309999999 Calling exit ...