Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_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.001553/0.001553, 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.001115/0.001115, 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.9416/0.9416, allocations: 177.1 MB / 203.5 MB, free: 5.77 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.721/0.721, allocations: 291.2 MB / 0.5382 GB, free: 51.88 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.CadmiumChloride.CadmiumChloride_Matsuno1991_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6974 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.836e-05, allocations: 9.094 kB / 0.6974 GB, free: 10.4 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference): time 0.002007/0.002036, allocations: 1.814 MB / 0.6991 GB, free: 8.57 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007542/0.00279, allocations: 0.5458 MB / 0.6997 GB, free: 8.02 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.984e-05/0.00285, allocations: 3.938 kB / 0.6997 GB, free: 8.016 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.829e-05/0.002938, allocations: 7.922 kB / 0.6997 GB, free: 8.008 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.003285, allocations: 75.41 kB / 0.6997 GB, free: 7.934 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.003439, allocations: 59.84 kB / 0.6998 GB, free: 7.875 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.003617, allocations: 171.2 kB / 0.7 GB, free: 7.707 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/0.003667, allocations: 9.312 kB / 0.7 GB, free: 7.699 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.003779, allocations: 91.72 kB / 0.7001 GB, free: 7.609 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.003992, allocations: 79.77 kB / 0.7001 GB, free: 7.531 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.00402, allocations: 8 kB / 0.7001 GB, free: 7.523 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.04e-05/0.004041, allocations: 8 kB / 0.7002 GB, free: 7.516 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.004105, allocations: 31.91 kB / 0.7002 GB, free: 7.484 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.711e-05/0.004162, allocations: 43.89 kB / 0.7002 GB, free: 7.441 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.004302, allocations: 103.6 kB / 0.7003 GB, free: 7.34 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.004305, allocations: 0 / 0.7003 GB, free: 7.34 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.983e-06/0.004307, allocations: 0 / 0.7003 GB, free: 7.34 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.004313, allocations: 0 / 0.7003 GB, free: 7.34 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.0005645/0.004877, allocations: 395.5 kB / 0.7007 GB, free: 6.918 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.004912, allocations: 8.031 kB / 0.7007 GB, free: 6.91 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.004956, allocations: 16.84 kB / 0.7007 GB, free: 6.895 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.005085, allocations: 146.2 kB / 0.7009 GB, free: 6.727 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.005099, allocations: 8.359 kB / 0.7009 GB, free: 6.719 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.005122, allocations: 8.375 kB / 0.7009 GB, free: 6.711 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.005291, allocations: 101.6 kB / 0.701 GB, free: 6.609 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.005299, allocations: 3.938 kB / 0.701 GB, free: 6.605 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.00531, allocations: 4 kB / 0.701 GB, free: 6.602 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.005314, allocations: 4 kB / 0.701 GB, free: 6.598 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.005454, allocations: 79.91 kB / 0.7011 GB, free: 6.52 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.00583, allocations: 284.4 kB / 0.7013 GB, free: 6.211 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.006044, allocations: 138.4 kB / 0.7015 GB, free: 6.066 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.864e-05/0.006123, allocations: 52.81 kB / 0.7015 GB, free: 6.012 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.006138, allocations: 4 kB / 0.7015 GB, free: 6.008 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.006315, allocations: 115.3 kB / 0.7016 GB, free: 5.883 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.913e-06/0.006317, allocations: 0 / 0.7016 GB, free: 5.883 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003296/0.006646, allocations: 197.6 kB / 0.7018 GB, free: 5.684 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.006675, allocations: 55.41 kB / 0.7019 GB, free: 5.617 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.52e-05/0.00676, allocations: 151.8 kB / 0.702 GB, free: 5.461 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.006773, allocations: 33.7 kB / 0.7021 GB, free: 5.422 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.006821, allocations: 112 kB / 0.7022 GB, free: 5.309 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.006843, allocations: 47.58 kB / 0.7022 GB, free: 5.262 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.00689, allocations: 37.7 kB / 0.7022 GB, free: 5.219 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.742e-05/0.006927, allocations: 322.8 kB / 0.7025 GB, free: 4.895 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.00703, allocations: 81.66 kB / 0.7026 GB, free: 4.809 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.007154, allocations: 204.4 kB / 0.7028 GB, free: 4.574 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.007314, allocations: 140.8 kB / 0.703 GB, free: 4.43 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.007317, allocations: 7.938 kB / 0.703 GB, free: 4.422 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002226/0.00754, allocations: 240.8 kB / 0.7032 GB, free: 4.168 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.007566, allocations: 33.7 kB / 0.7032 GB, free: 4.129 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.007572, allocations: 4 kB / 0.7032 GB, free: 4.125 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.007586, allocations: 0 / 0.7032 GB, free: 4.125 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.007687, allocations: 27.97 kB / 0.7033 GB, free: 4.098 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.007693, allocations: 4 kB / 0.7033 GB, free: 4.094 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.138e-05/0.007775, allocations: 19.92 kB / 0.7033 GB, free: 4.074 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.007786, allocations: 4 kB / 0.7033 GB, free: 4.07 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.815e-05/0.007844, allocations: 134.4 kB / 0.7034 GB, free: 3.93 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.007856, allocations: 11.91 kB / 0.7034 GB, free: 3.918 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.00809, allocations: 170.4 kB / 0.7036 GB, free: 3.75 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.008094, allocations: 0 / 0.7036 GB, free: 3.75 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.008099, allocations: 0 / 0.7036 GB, free: 3.75 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.008103, allocations: 0 / 0.7036 GB, free: 3.75 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.548e-05/0.008188, allocations: 149.2 kB / 0.7037 GB, free: 3.574 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.00819, allocations: 3.938 kB / 0.7037 GB, free: 3.57 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.988e-05/0.00828, allocations: 35.91 kB / 0.7038 GB, free: 3.535 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.008283, allocations: 0 / 0.7038 GB, free: 3.535 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.008295, allocations: 8 kB / 0.7038 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.008297, allocations: 0 / 0.7038 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.008298, allocations: 0 / 0.7038 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.008608, allocations: 244.7 kB / 0.704 GB, free: 3.273 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.008629, allocations: 19.86 kB / 0.704 GB, free: 3.254 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.00865, allocations: 8.062 kB / 0.704 GB, free: 3.246 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.503e-05/0.008705, allocations: 11.98 kB / 0.704 GB, free: 3.234 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.008768, allocations: 19.97 kB / 0.7041 GB, free: 3.215 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.008777, allocations: 0 / 0.7041 GB, free: 3.215 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.28e-05/0.008829, allocations: 125.8 kB / 0.7042 GB, free: 3.094 MB / 410.8 MB Notification: Performance of sort global known variables: time 2e-07/0.00883, allocations: 3.938 kB / 0.7042 GB, free: 3.09 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001528/0.008982, allocations: 35.94 kB / 0.7042 GB, free: 3.055 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 0.0001449/0.009127, allocations: 107.3 kB / 0.7043 GB, free: 2.938 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002929/0.00942, allocations: 220.9 kB / 0.7045 GB, free: 2.703 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.009422, allocations: 0 / 0.7045 GB, free: 2.703 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.155e-05/0.009514, allocations: 59.89 kB / 0.7046 GB, free: 2.645 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.009736, allocations: 43.89 kB / 0.7046 GB, free: 2.602 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005788/0.01031, allocations: 343.1 kB / 0.705 GB, free: 2.234 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.109e-05/0.01037, allocations: 93.81 kB / 0.7051 GB, free: 2.125 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.01042, allocations: 16.5 kB / 0.7051 GB, free: 2.105 MB / 410.8 MB Notification: Performance of SimCode: time 1.001e-06/0.01042, allocations: 0 / 0.7051 GB, free: 2.105 MB / 410.8 MB Notification: Performance of Templates: time 0.002514/0.01293, allocations: 2.055 MB / 0.7071 GB, free: 72 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Matsuno1991_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.499029231257737]