Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Media.Blood.VenousComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.08584/0.08584, allocations: 11.16 MB / 30.51 MB, free: 4.918 MB / 24.77 MB " [Timeout remaining time 180] 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.001424/0.001424, allocations: 91.64 kB / 38.14 MB, free: 7.199 MB / 33.03 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.001644/0.001644, allocations: 156.5 kB / 45.85 MB, free: 10.6 MB / 44.04 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.442/1.442, allocations: 177.2 MB / 230.6 MB, free: 4.781 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1497/0.1497, allocations: 17.62 MB / 309.1 MB, free: 8.793 MB / 282.7 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/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) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Media.Blood.VenousComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Media.Blood.VenousComposition") translateModel(Physiolibrary.Media.Blood.VenousComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Media.Blood.VenousComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 403.1 MB, free: 33.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.699e-05, allocations: 2.312 kB / 403.1 MB, free: 33.91 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Media.Blood.VenousComposition): time 0.01431/0.01434, allocations: 18.51 MB / 421.6 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004206/0.01855, allocations: 4.061 MB / 425.7 MB, free: 11.26 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.01868, allocations: 0 / 425.7 MB, free: 11.26 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003912/0.01907, allocations: 79.38 kB / 425.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003359/0.02243, allocations: 1.713 MB / 427.5 MB, free: 9.461 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.02383, allocations: 0.8055 MB / 428.3 MB, free: 8.652 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005704/0.0244, allocations: 0.9789 MB / 429.2 MB, free: 7.672 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.992e-05/0.02446, allocations: 21.28 kB / 429.3 MB, free: 7.648 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.02596, allocations: 1.023 MB / 430.3 MB, free: 6.621 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2094/0.2353, allocations: 37.11 MB / 467.4 MB, free: 3.648 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002416/0.2356, allocations: 32 kB / 467.4 MB, free: 3.617 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.8069/1.042, allocations: 121 MB / 0.5746 GB, free: 82.96 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003408/1.043, allocations: 284.7 kB / 0.5749 GB, free: 82.87 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005017/1.043, allocations: 292.1 kB / 0.5752 GB, free: 82.69 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003896/1.047, allocations: 2.197 MB / 0.5773 GB, free: 81.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.047, allocations: 0 / 0.5773 GB, free: 81.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.422e-06/1.047, allocations: 4 kB / 0.5773 GB, free: 81.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.802e-05/1.047, allocations: 0 / 0.5773 GB, free: 81.69 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.002202/1.049, allocations: 1.152 MB / 0.5785 GB, free: 80.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/1.049, allocations: 12.03 kB / 0.5785 GB, free: 80.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/1.05, allocations: 124.5 kB / 0.5786 GB, free: 80.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/1.05, allocations: 181.6 kB / 0.5788 GB, free: 80.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/1.05, allocations: 53.38 kB / 0.5788 GB, free: 80.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.496e-05/1.05, allocations: 61.81 kB / 0.5789 GB, free: 80.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/1.052, allocations: 3.41 MB / 0.5822 GB, free: 78.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/1.052, allocations: 2.062 kB / 0.5822 GB, free: 78.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.894e-05/1.052, allocations: 25.44 kB / 0.5822 GB, free: 78.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-05/1.052, allocations: 86.48 kB / 0.5823 GB, free: 77.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003741/1.056, allocations: 6.735 MB / 0.5889 GB, free: 72.12 MB / 426.7 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.006891/1.063, allocations: 8.122 MB / 0.5968 GB, free: 64.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/1.065, allocations: 2.314 MB / 0.5991 GB, free: 61.72 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/1.066, allocations: 2.164 MB / 0.6012 GB, free: 59.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/1.068, allocations: 0.7891 MB / 0.602 GB, free: 58.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/1.068, allocations: 52.86 kB / 0.602 GB, free: 58.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=138): time 3.166e-06/1.068, allocations: 0 / 0.602 GB, free: 58.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=138): time 0.03081/1.098, allocations: 12.5 MB / 0.6142 GB, free: 46.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/1.098, allocations: 141.5 kB / 0.6144 GB, free: 46.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/1.099, allocations: 312.1 kB / 0.6147 GB, free: 45.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.045e-05/1.099, allocations: 41.7 kB / 0.6147 GB, free: 45.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/1.099, allocations: 330.8 kB / 0.615 GB, free: 45.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/1.099, allocations: 477.9 kB / 0.6155 GB, free: 44.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003216/1.099, allocations: 270.8 kB / 0.6157 GB, free: 44.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.517e-05/1.099, allocations: 314 kB / 0.616 GB, free: 44.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/1.101, allocations: 2.156 MB / 0.6181 GB, free: 42.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/1.103, allocations: 2.555 MB / 0.6206 GB, free: 39.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003377/1.106, allocations: 5.015 MB / 0.6255 GB, free: 34.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/1.106, allocations: 4 kB / 0.6255 GB, free: 34.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005136/1.111, allocations: 6.852 MB / 0.6322 GB, free: 27.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/1.111, allocations: 12 kB / 0.6322 GB, free: 27.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/1.111, allocations: 16.16 kB / 0.6322 GB, free: 27.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.4967/1.608, allocations: 64.14 MB / 0.6949 GB, free: 160.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006433/1.608, allocations: 169.2 kB / 0.695 GB, free: 160.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008446/1.609, allocations: 128 kB / 0.6952 GB, free: 160.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007366/1.61, allocations: 138.8 kB / 0.6953 GB, free: 160.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/1.61, allocations: 128.5 kB / 0.6954 GB, free: 160.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002227/1.612, allocations: 2.319 MB / 0.6977 GB, free: 160.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002217/1.615, allocations: 2.55 MB / 0.7002 GB, free: 160.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00453/1.619, allocations: 5.017 MB / 0.7051 GB, free: 157.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.137e-05/1.619, allocations: 4.406 kB / 0.7051 GB, free: 157.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.005432/1.625, allocations: 6.833 MB / 0.7117 GB, free: 154 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/1.625, allocations: 14.47 kB / 0.7118 GB, free: 154 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/1.625, allocations: 12 kB / 0.7118 GB, free: 154 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3081/1.933, allocations: 57.18 MB / 0.7676 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/1.933, allocations: 181 kB / 0.7678 GB, free: 100.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000701/1.934, allocations: 127.6 kB / 0.7679 GB, free: 100 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007284/1.935, allocations: 113.2 kB / 0.768 GB, free: 99.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/1.935, allocations: 128 kB / 0.7681 GB, free: 99.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(59,37)} Notification: Performance of prepare postOptimizeDAE: time 0.0002862/1.935, allocations: 246.7 kB / 0.7684 GB, free: 99.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/1.935, allocations: 98.95 kB / 0.7685 GB, free: 99.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03164/1.967, allocations: 8.282 MB / 0.7765 GB, free: 91.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-05/1.967, allocations: 27.98 kB / 0.7766 GB, free: 91.22 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.967, allocations: 8 kB / 0.7766 GB, free: 91.21 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/1.967, allocations: 3.984 kB / 0.7766 GB, free: 91.21 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006744/1.974, allocations: 9.343 MB / 0.7857 GB, free: 81.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/1.974, allocations: 0.5625 kB / 0.7857 GB, free: 81.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/1.974, allocations: 67.34 kB / 0.7858 GB, free: 81.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3066/2.281, allocations: 59.95 MB / 0.8443 GB, free: 21.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/2.281, allocations: 43.98 kB / 0.8444 GB, free: 21.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000158/2.281, allocations: 36.83 kB / 0.8444 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/2.281, allocations: 0 / 0.8444 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005648/2.287, allocations: 7.25 MB / 0.8515 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005405/2.287, allocations: 290.7 kB / 0.8518 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/2.287, allocations: 19.98 kB / 0.8518 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005541/2.288, allocations: 31.98 kB / 0.8518 GB, free: 14.22 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/2.288, allocations: 80.44 kB / 0.8519 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-05/2.288, allocations: 96 kB / 0.852 GB, free: 14.05 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001214/2.288, allocations: 179.1 kB / 0.8521 GB, free: 13.88 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.1e-08/2.288, allocations: 0 / 0.8521 GB, free: 13.88 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002028/2.29, allocations: 0.7719 MB / 0.8529 GB, free: 13.11 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (44): * Single equations (assignments): 42 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(59,41)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001769/2.292, allocations: 0.8532 MB / 0.8537 GB, free: 12.33 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006939/2.299, allocations: 7.986 MB / 0.8615 GB, free: 4.426 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/2.299, allocations: 2 kB / 0.8615 GB, free: 4.426 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002079/2.301, allocations: 2.575 MB / 0.864 GB, free: 1.863 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/2.303, allocations: 474.3 kB / 0.8645 GB, free: 1.426 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1376/2.441, allocations: 6.167 MB / 0.8705 GB, free: 164.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/2.442, allocations: 0.532 MB / 0.871 GB, free: 164 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007294/2.442, allocations: 263.8 kB / 0.8713 GB, free: 164 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/2.442, allocations: 45.5 kB / 0.8713 GB, free: 164 MB / 458.7 MB Notification: Performance of SimCode: time 1.172e-06/2.442, allocations: 1.781 kB / 0.8713 GB, free: 164 MB / 458.7 MB Notification: Performance of Templates: time 0.04352/2.486, allocations: 39.25 MB / 0.9097 GB, free: 134 MB / 458.7 MB " [Timeout remaining time 658] make -j1 -f Physiolibrary_Physiolibrary.Media.Blood.VenousComposition.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Media.Blood.VenousComposition.pipe ; mkfifo Physiolibrary_Physiolibrary.Media.Blood.VenousComposition.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Media.Blood.VenousComposition.pipe >> ../files/Physiolibrary_Physiolibrary.Media.Blood.VenousComposition.sim & ./Physiolibrary_Physiolibrary.Media.Blood.VenousComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Media.Blood.VenousComposition.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.436895046033897]