Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 117.3 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 192.6 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08187/0.08187, allocations: 15.55 MB / 318.9 MB, free: 13.61 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood") translateModel(Chemical.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 62.55 kB / 446.1 MB, free: 47.78 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08123/0.08316, allocations: 56.57 MB / 0.4909 GB, free: 20.64 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.AcidBase.CarbonDioxideInBlood): time 0.03646/0.1196, allocations: 34.86 MB / 0.5249 GB, free: 4.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05449/0.1741, allocations: 47.55 MB / 0.5714 GB, free: 4.945 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002188/0.1763, allocations: 35.81 kB / 0.5714 GB, free: 4.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002686/0.179, allocations: 1.028 MB / 0.5724 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.1891, allocations: 3.736 MB / 0.576 GB, free: 116 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01626/0.2053, allocations: 6.427 MB / 0.5823 GB, free: 9.648 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007177/0.2125, allocations: 4.527 MB / 0.5867 GB, free: 5.102 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003827/0.2163, allocations: 2.273 MB / 0.589 GB, free: 2.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003587/0.2199, allocations: 2.256 MB / 0.5912 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00466/0.2246, allocations: 2.609 MB / 0.5937 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001271/0.2259, allocations: 420 kB / 0.5941 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01635/0.2422, allocations: 5.359 MB / 0.5993 GB, free: 8.113 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001811/0.244, allocations: 0.9893 MB / 0.6003 GB, free: 7.121 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003438/0.2475, allocations: 2.027 MB / 0.6023 GB, free: 5.086 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2528/0.5003, allocations: 9.95 MB / 0.612 GB, free: 42.88 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.5003, allocations: 4.156 kB / 0.612 GB, free: 42.88 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5003, allocations: 1.969 kB / 0.612 GB, free: 42.88 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001502/0.5005, allocations: 0 / 0.612 GB, free: 42.88 MB / 462.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.01223/0.5127, allocations: 4.843 MB / 0.6167 GB, free: 40.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.5127, allocations: 9.781 kB / 0.6168 GB, free: 40.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004371/0.5171, allocations: 0.85 MB / 0.6176 GB, free: 40.56 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003371/0.5205, allocations: 1.673 MB / 0.6192 GB, free: 40.06 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002812/0.5208, allocations: 295.9 kB / 0.6195 GB, free: 39.99 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007692/0.5215, allocations: 330.6 kB / 0.6198 GB, free: 39.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007419/0.529, allocations: 4.511 MB / 0.6242 GB, free: 39.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.907e-05/0.529, allocations: 4.969 kB / 0.6242 GB, free: 39.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003443/0.5294, allocations: 126.7 kB / 0.6243 GB, free: 39.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.692e-05/0.5294, allocations: 77.94 kB / 0.6244 GB, free: 39.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008157/0.5376, allocations: 6.167 MB / 0.6304 GB, free: 39.7 MB / 462.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.02128/0.5588, allocations: 14.09 MB / 0.6442 GB, free: 34.72 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007472/0.5663, allocations: 6.126 MB / 0.6502 GB, free: 31.2 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00264/0.569, allocations: 2.05 MB / 0.6522 GB, free: 29.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01634/0.5853, allocations: 14.88 MB / 0.6667 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.5853, allocations: 66.2 kB / 0.6668 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002215/0.5876, allocations: 466.3 kB / 0.6672 GB, free: 12.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=284): time 7.264e-06/0.5876, allocations: 0 / 0.6672 GB, free: 12.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=387): time 0.08475/0.6723, allocations: 23.87 MB / 0.6905 GB, free: 4.914 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.6724, allocations: 93.92 kB / 0.6906 GB, free: 4.812 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002364/0.6747, allocations: 1.715 MB / 0.6923 GB, free: 3.055 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004927/0.6752, allocations: 85.7 kB / 0.6924 GB, free: 2.965 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.6763, allocations: 1.338 MB / 0.6937 GB, free: 1.621 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001381/0.6776, allocations: 1.378 MB / 0.695 GB, free: 268 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001334/0.679, allocations: 0.7765 MB / 0.6958 GB, free: 15.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.6791, allocations: 307.8 kB / 0.6961 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003181/0.6823, allocations: 1.82 MB / 0.6979 GB, free: 13.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004113/0.6864, allocations: 2.819 MB / 0.7006 GB, free: 10.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007881/0.6943, allocations: 4.937 MB / 0.7054 GB, free: 4.953 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-05/0.6943, allocations: 10.66 kB / 0.7054 GB, free: 4.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01919/0.7135, allocations: 6.791 MB / 0.7121 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.7135, allocations: 21.97 kB / 0.7121 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.626e-05/0.7136, allocations: 28 kB / 0.7121 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01127/0.7248, allocations: 2.276 MB / 0.7143 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003865/0.7287, allocations: 0.9023 MB / 0.7152 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02916/0.7579, allocations: 18.39 MB / 0.7332 GB, free: 7.988 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003627/0.7615, allocations: 142.6 kB / 0.7333 GB, free: 7.852 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006516/0.7622, allocations: 231.9 kB / 0.7335 GB, free: 7.625 MB / 0.5138 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.001632/0.7638, allocations: 0.6101 MB / 0.7341 GB, free: 7.062 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008042/0.7646, allocations: 282.2 kB / 0.7344 GB, free: 6.785 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01883/0.7834, allocations: 6.55 MB / 0.7408 GB, free: 364 kB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.436e-05/0.7835, allocations: 40 kB / 0.7408 GB, free: 324 kB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.476e-05/0.7835, allocations: 8 kB / 0.7409 GB, free: 316 kB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001252/0.7836, allocations: 19.92 kB / 0.7409 GB, free: 296 kB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02693/0.8106, allocations: 10.62 MB / 0.7512 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.805e-05/0.8106, allocations: 4 kB / 0.7512 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003305/0.8139, allocations: 0.6512 MB / 0.7519 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009997/0.8239, allocations: 2.029 MB / 0.7539 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007399/0.8246, allocations: 135.9 kB / 0.754 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02517/0.8498, allocations: 17.02 MB / 0.7706 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/0.8498, allocations: 10.53 kB / 0.7706 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02146/0.8713, allocations: 8.472 MB / 0.7789 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001983/0.8733, allocations: 0.7095 MB / 0.7796 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000574/0.8738, allocations: 80 kB / 0.7797 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002137/0.876, allocations: 91.97 kB / 0.7798 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007814/0.8767, allocations: 342.1 kB / 0.7801 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003516/0.8771, allocations: 159.9 kB / 0.7802 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001632/0.8787, allocations: 1.116 MB / 0.7813 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8787, allocations: 0 / 0.7813 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007183/0.8859, allocations: 2.205 MB / 0.7835 GB, free: 3.746 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.00494/0.8909, allocations: 2.222 MB / 0.7856 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01146/0.9023, allocations: 5.55 MB / 0.7911 GB, free: 12.33 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.9023, allocations: 0 / 0.7911 GB, free: 12.33 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006638/0.909, allocations: 3.349 MB / 0.7943 GB, free: 8.977 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/0.912, allocations: 0.5549 MB / 0.7949 GB, free: 8.461 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.9242, allocations: 6.796 MB / 0.8015 GB, free: 1.633 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001708/0.9259, allocations: 1.877 MB / 0.8033 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001897/0.9278, allocations: 0.5615 MB / 0.8039 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/0.9278, allocations: 6.016 kB / 0.8039 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of Templates: time 0.3335/1.261, allocations: 168.6 MB / 0.9685 GB, free: 121.9 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.sim & ./Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.332153392024338] Failed to read output from testmodel.py, exit status != 0: 1.4252853500656784 1.276869598 0.774376315 Calling exit ...