Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.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.001439/0.001439, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001111/0.001111, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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 0.8734/0.8734, allocations: 177.1 MB / 203.5 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.7078/0.7078, allocations: 291.1 MB / 0.5382 GB, free: 51.89 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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) Running command: translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6973 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.938e-05, allocations: 5.094 kB / 0.6973 GB, free: 10.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference): time 0.001886/0.001916, allocations: 1.818 MB / 0.6991 GB, free: 8.535 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006489/0.002564, allocations: 0.5458 MB / 0.6996 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.217e-05/0.002617, allocations: 0 / 0.6996 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.891e-05/0.002706, allocations: 11.86 kB / 0.6997 GB, free: 7.973 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.003005, allocations: 75.47 kB / 0.6997 GB, free: 7.898 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.003132, allocations: 67.27 kB / 0.6998 GB, free: 7.836 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.00329, allocations: 171.3 kB / 0.7 GB, free: 7.668 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.003333, allocations: 5.312 kB / 0.7 GB, free: 7.664 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.003442, allocations: 99.77 kB / 0.7001 GB, free: 7.566 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.00363, allocations: 71.78 kB / 0.7001 GB, free: 7.496 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.003652, allocations: 8 kB / 0.7001 GB, free: 7.488 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.642e-05/0.003668, allocations: 8 kB / 0.7001 GB, free: 7.48 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.041e-05/0.003719, allocations: 31.89 kB / 0.7002 GB, free: 7.449 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.003767, allocations: 39.91 kB / 0.7002 GB, free: 7.41 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.003886, allocations: 107.6 kB / 0.7003 GB, free: 7.305 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.003889, allocations: 0 / 0.7003 GB, free: 7.305 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.874e-06/0.00389, allocations: 0 / 0.7003 GB, free: 7.305 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.003895, allocations: 0 / 0.7003 GB, free: 7.305 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005381/0.004433, allocations: 391.5 kB / 0.7007 GB, free: 6.887 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.004471, allocations: 11.89 kB / 0.7007 GB, free: 6.875 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.004521, allocations: 16.84 kB / 0.7007 GB, free: 6.859 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.004664, allocations: 150.1 kB / 0.7009 GB, free: 6.688 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.004681, allocations: 8.375 kB / 0.7009 GB, free: 6.68 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.004705, allocations: 12.36 kB / 0.7009 GB, free: 6.668 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.004863, allocations: 94.19 kB / 0.701 GB, free: 6.57 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.004871, allocations: 7.938 kB / 0.701 GB, free: 6.562 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.004882, allocations: 0 / 0.701 GB, free: 6.562 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.004887, allocations: 0 / 0.701 GB, free: 6.562 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.005027, allocations: 91.84 kB / 0.7011 GB, free: 6.473 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.005357, allocations: 288.3 kB / 0.7013 GB, free: 6.16 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.005572, allocations: 126.4 kB / 0.7015 GB, free: 6.027 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.822e-05/0.005651, allocations: 60.81 kB / 0.7015 GB, free: 5.965 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.005664, allocations: 0 / 0.7015 GB, free: 5.965 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.005826, allocations: 111.3 kB / 0.7016 GB, free: 5.844 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.005827, allocations: 0 / 0.7016 GB, free: 5.844 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003232/0.006151, allocations: 197.6 kB / 0.7018 GB, free: 5.645 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.006176, allocations: 59.41 kB / 0.7019 GB, free: 5.574 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.547e-05/0.006271, allocations: 157.2 kB / 0.702 GB, free: 5.414 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.006285, allocations: 29.7 kB / 0.702 GB, free: 5.379 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.00633, allocations: 108 kB / 0.7021 GB, free: 5.27 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.006353, allocations: 51.62 kB / 0.7022 GB, free: 5.219 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.006393, allocations: 33.7 kB / 0.7022 GB, free: 5.18 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.042e-05/0.006423, allocations: 326.8 kB / 0.7025 GB, free: 4.852 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.68e-05/0.00652, allocations: 81.66 kB / 0.7026 GB, free: 4.766 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.006632, allocations: 204.2 kB / 0.7028 GB, free: 4.531 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.006786, allocations: 138.5 kB / 0.7029 GB, free: 4.387 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.006789, allocations: 7.938 kB / 0.7029 GB, free: 4.379 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002125/0.007001, allocations: 239.3 kB / 0.7032 GB, free: 4.129 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.007022, allocations: 33.7 kB / 0.7032 GB, free: 4.09 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.007027, allocations: 4 kB / 0.7032 GB, free: 4.086 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.00704, allocations: 0 / 0.7032 GB, free: 4.086 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.585e-05/0.007136, allocations: 35.91 kB / 0.7032 GB, free: 4.051 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.00714, allocations: 4 kB / 0.7033 GB, free: 4.047 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.007217, allocations: 19.92 kB / 0.7033 GB, free: 4.027 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.007228, allocations: 8 kB / 0.7033 GB, free: 4.02 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.785e-05/0.007285, allocations: 122.4 kB / 0.7034 GB, free: 3.891 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.007298, allocations: 15.89 kB / 0.7034 GB, free: 3.875 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.007517, allocations: 174.2 kB / 0.7036 GB, free: 3.707 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.00752, allocations: 0 / 0.7036 GB, free: 3.707 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.007524, allocations: 4 kB / 0.7036 GB, free: 3.703 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.007527, allocations: 0 / 0.7036 GB, free: 3.703 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.862e-05/0.007606, allocations: 153.2 kB / 0.7037 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.007607, allocations: 7.938 kB / 0.7037 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.178e-05/0.007689, allocations: 19.98 kB / 0.7038 GB, free: 3.496 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.007691, allocations: 0 / 0.7038 GB, free: 3.496 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.007701, allocations: 7.984 kB / 0.7038 GB, free: 3.488 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.007702, allocations: 0 / 0.7038 GB, free: 3.488 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007703, allocations: 0 / 0.7038 GB, free: 3.488 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.007984, allocations: 252.8 kB / 0.704 GB, free: 3.223 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.008001, allocations: 23.92 kB / 0.704 GB, free: 3.199 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.00802, allocations: 4 kB / 0.704 GB, free: 3.195 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.415e-05/0.008074, allocations: 11.98 kB / 0.704 GB, free: 3.184 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.008123, allocations: 19.97 kB / 0.7041 GB, free: 3.164 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.008131, allocations: 4 kB / 0.7041 GB, free: 3.16 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.335e-05/0.008175, allocations: 119.1 kB / 0.7042 GB, free: 3.043 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.008175, allocations: 7.938 kB / 0.7042 GB, free: 3.035 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001359/0.008311, allocations: 28 kB / 0.7042 GB, free: 3.008 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.392e-05/0.008394, allocations: 103.3 kB / 0.7043 GB, free: 2.895 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.008628, allocations: 216.9 kB / 0.7045 GB, free: 2.664 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.00863, allocations: 0 / 0.7045 GB, free: 2.664 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.008779, allocations: 67.89 kB / 0.7046 GB, free: 2.598 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.008967, allocations: 43.89 kB / 0.7046 GB, free: 2.555 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.009424, allocations: 335.2 kB / 0.7049 GB, free: 2.195 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.103e-05/0.009465, allocations: 93.81 kB / 0.705 GB, free: 2.086 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.00951, allocations: 20.5 kB / 0.7051 GB, free: 2.062 MB / 410.8 MB Notification: Performance of SimCode: time 4.51e-07/0.00951, allocations: 0 / 0.7051 GB, free: 2.062 MB / 410.8 MB Notification: Performance of Templates: time 0.002297/0.01181, allocations: 2.051 MB / 0.7071 GB, free: 28 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.521046790294349]