Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_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.0009293/0.0009293, allocations: 92.48 kB / 19.94 MB, free: 4.598 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.0009775/0.0009775, allocations: 165.9 kB / 23.21 MB, free: 1.328 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.9264/0.9264, allocations: 177.1 MB / 203.5 MB, free: 5.688 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.6914/0.6914, allocations: 291.1 MB / 0.5382 GB, free: 51.81 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.Cotinine.Cotinine_Dempsey2013_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.6973 GB, free: 10.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.799e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference): time 0.002122/0.00214, allocations: 1.822 MB / 0.6991 GB, free: 8.52 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007345/0.002875, allocations: 0.5458 MB / 0.6997 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/0.002932, allocations: 0 / 0.6997 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.975e-05/0.003022, allocations: 15.84 kB / 0.6997 GB, free: 7.953 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.00334, allocations: 63.48 kB / 0.6997 GB, free: 7.891 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.003482, allocations: 71.78 kB / 0.6998 GB, free: 7.82 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.003664, allocations: 171.2 kB / 0.7 GB, free: 7.652 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/0.003708, allocations: 5.312 kB / 0.7 GB, free: 7.648 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.003821, allocations: 87.78 kB / 0.7 GB, free: 7.562 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.004025, allocations: 75.78 kB / 0.7001 GB, free: 7.488 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.004047, allocations: 8 kB / 0.7001 GB, free: 7.48 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.852e-05/0.004066, allocations: 8 kB / 0.7001 GB, free: 7.473 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.57e-05/0.004121, allocations: 35.88 kB / 0.7002 GB, free: 7.438 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.401e-05/0.004175, allocations: 47.84 kB / 0.7002 GB, free: 7.391 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.004299, allocations: 95.69 kB / 0.7003 GB, free: 7.297 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004301, allocations: 0 / 0.7003 GB, free: 7.297 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004302, allocations: 0 / 0.7003 GB, free: 7.297 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.004306, allocations: 0 / 0.7003 GB, free: 7.297 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.0005668/0.004873, allocations: 395.5 kB / 0.7007 GB, free: 6.875 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.004907, allocations: 11.89 kB / 0.7007 GB, free: 6.863 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.004953, allocations: 20.84 kB / 0.7007 GB, free: 6.844 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.005103, allocations: 151.6 kB / 0.7009 GB, free: 6.672 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.005119, allocations: 4.375 kB / 0.7009 GB, free: 6.668 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.005146, allocations: 12.38 kB / 0.7009 GB, free: 6.656 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.005338, allocations: 98.17 kB / 0.701 GB, free: 6.555 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.005347, allocations: 3.938 kB / 0.701 GB, free: 6.551 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.005359, allocations: 4 kB / 0.701 GB, free: 6.547 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.005363, allocations: 4 kB / 0.701 GB, free: 6.543 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.00556, allocations: 79.92 kB / 0.7011 GB, free: 6.465 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.00592, allocations: 284.3 kB / 0.7013 GB, free: 6.156 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.006192, allocations: 138.4 kB / 0.7015 GB, free: 6.012 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.006297, allocations: 44.83 kB / 0.7015 GB, free: 5.965 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.006313, allocations: 8 kB / 0.7015 GB, free: 5.957 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.006507, allocations: 115.2 kB / 0.7016 GB, free: 5.832 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.006508, allocations: 3.938 kB / 0.7016 GB, free: 5.828 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0004041/0.006912, allocations: 197.2 kB / 0.7018 GB, free: 5.633 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.006936, allocations: 59.39 kB / 0.7019 GB, free: 5.562 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.007039, allocations: 160.9 kB / 0.702 GB, free: 5.398 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.007052, allocations: 29.7 kB / 0.7021 GB, free: 5.363 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.007093, allocations: 104.1 kB / 0.7022 GB, free: 5.258 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.007119, allocations: 39.64 kB / 0.7022 GB, free: 5.219 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.00717, allocations: 37.7 kB / 0.7022 GB, free: 5.176 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.852e-05/0.007209, allocations: 322.8 kB / 0.7025 GB, free: 4.852 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.007331, allocations: 89.64 kB / 0.7026 GB, free: 4.758 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.007481, allocations: 208.2 kB / 0.7028 GB, free: 4.52 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.007687, allocations: 144.7 kB / 0.703 GB, free: 4.371 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.00769, allocations: 3.938 kB / 0.703 GB, free: 4.367 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002971/0.007987, allocations: 236.8 kB / 0.7032 GB, free: 4.117 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.00801, allocations: 33.69 kB / 0.7032 GB, free: 4.078 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.008014, allocations: 4 kB / 0.7032 GB, free: 4.074 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.008027, allocations: 4 kB / 0.7032 GB, free: 4.07 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.008143, allocations: 27.92 kB / 0.7033 GB, free: 4.043 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.008148, allocations: 0 / 0.7033 GB, free: 4.043 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.008249, allocations: 19.92 kB / 0.7033 GB, free: 4.023 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.00826, allocations: 4 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 6.486e-05/0.008325, allocations: 130.4 kB / 0.7034 GB, free: 3.883 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.008342, allocations: 11.91 kB / 0.7034 GB, free: 3.871 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.008629, allocations: 174.3 kB / 0.7036 GB, free: 3.699 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.008633, allocations: 8.031 kB / 0.7036 GB, free: 3.691 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.008636, allocations: 0 / 0.7036 GB, free: 3.691 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.00864, allocations: 0 / 0.7036 GB, free: 3.691 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.796e-05/0.008738, allocations: 149.2 kB / 0.7037 GB, free: 3.516 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.00874, allocations: 7.922 kB / 0.7037 GB, free: 3.508 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.008849, allocations: 23.98 kB / 0.7038 GB, free: 3.484 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.008853, allocations: 4 kB / 0.7038 GB, free: 3.48 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.008865, allocations: 0 / 0.7038 GB, free: 3.48 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.008868, allocations: 4 kB / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.008869, allocations: 0 / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000383/0.009252, allocations: 248.9 kB / 0.704 GB, free: 3.215 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.009273, allocations: 23.88 kB / 0.704 GB, free: 3.191 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.009298, allocations: 0 / 0.704 GB, free: 3.191 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.56e-05/0.009374, allocations: 15.98 kB / 0.704 GB, free: 3.176 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.009427, allocations: 11.97 kB / 0.7041 GB, free: 3.164 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.009437, allocations: 12 kB / 0.7041 GB, free: 3.152 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.808e-05/0.009495, allocations: 127 kB / 0.7042 GB, free: 3.027 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.009496, allocations: 0 / 0.7042 GB, free: 3.027 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001978/0.009693, allocations: 32 kB / 0.7042 GB, free: 2.996 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 6.991e-05/0.009763, allocations: 105.6 kB / 0.7043 GB, free: 2.883 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002948/0.01006, allocations: 213 kB / 0.7045 GB, free: 2.656 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01006, allocations: 0 / 0.7045 GB, free: 2.656 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.01017, allocations: 67.27 kB / 0.7046 GB, free: 2.594 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.01042, allocations: 46.08 kB / 0.7046 GB, free: 2.551 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.01093, allocations: 343.2 kB / 0.705 GB, free: 2.184 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.713e-05/0.01097, allocations: 89.81 kB / 0.705 GB, free: 2.078 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.617e-05/0.01103, allocations: 20.48 kB / 0.7051 GB, free: 2.055 MB / 410.8 MB Notification: Performance of SimCode: time 6.72e-07/0.01103, allocations: 0 / 0.7051 GB, free: 2.055 MB / 410.8 MB Notification: Performance of Templates: time 0.002742/0.01377, allocations: 2.051 MB / 0.7071 GB, free: 24 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine_Dempsey2013_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.14597287774086]