Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.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.000673/0.000673, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008408/0.001514, allocations: 455.9 kB / 10.35 MB, free: 348 kB / 10.45 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.0006773/0.0006773, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008577/0.001535, allocations: 475.7 kB / 11.7 MB, free: 2.465 MB / 13.93 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.9727/0.9727, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09422/1.067, allocations: 53.67 MB / 243.3 MB, free: 15.57 MB / 250.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.7367/0.7367, allocations: 291.2 MB / 0.5227 GB, free: 52.72 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03779/0.7745, allocations: 21.05 MB / 0.5432 GB, free: 31.73 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5446 GB, free: 30.31 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.587e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine): time 0.002083/0.002098, allocations: 1.972 MB / 0.5466 GB, free: 28.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007125/0.002811, allocations: 0.5653 MB / 0.5471 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.515e-05/0.002876, allocations: 3.938 kB / 0.5471 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.845e-05/0.002935, allocations: 11.92 kB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.003201, allocations: 79.41 kB / 0.5472 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.003361, allocations: 55.84 kB / 0.5473 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.003585, allocations: 172 kB / 0.5474 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.582e-05/0.003641, allocations: 9.969 kB / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.00381, allocations: 115.7 kB / 0.5476 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.004039, allocations: 79.77 kB / 0.5476 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.004065, allocations: 8 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.292e-05/0.004088, allocations: 8 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.891e-05/0.004137, allocations: 19.92 kB / 0.5477 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.004187, allocations: 27.94 kB / 0.5477 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.004323, allocations: 75.75 kB / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.752e-05/0.00434, allocations: 3.938 kB / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.004341, allocations: 0 / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.004357, allocations: 4 kB / 0.5478 GB, free: 27.1 MB / 410.7 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.0006131/0.00497, allocations: 388.1 kB / 0.5481 GB, free: 26.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.005003, allocations: 11.89 kB / 0.5481 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.005044, allocations: 16.92 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.005192, allocations: 158.8 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.00521, allocations: 4.375 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.005235, allocations: 12.38 kB / 0.5483 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.00537, allocations: 81.02 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.005379, allocations: 3.938 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.00539, allocations: 4 kB / 0.5484 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.005396, allocations: 0 / 0.5484 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.007e-05/0.005436, allocations: 23.98 kB / 0.5484 GB, free: 26.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.005703, allocations: 193.8 kB / 0.5486 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.005817, allocations: 114.9 kB / 0.5487 GB, free: 26.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.005846, allocations: 24.86 kB / 0.5488 GB, free: 25.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.005863, allocations: 4 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.005981, allocations: 94.17 kB / 0.5489 GB, free: 25.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.005983, allocations: 0 / 0.5489 GB, free: 25.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001496/0.006132, allocations: 85.66 kB / 0.5489 GB, free: 25.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.006161, allocations: 51.41 kB / 0.549 GB, free: 25.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.652e-05/0.006237, allocations: 154.6 kB / 0.5491 GB, free: 25.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.006249, allocations: 25.7 kB / 0.5492 GB, free: 25.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.006282, allocations: 100.3 kB / 0.5492 GB, free: 25.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.006307, allocations: 47.61 kB / 0.5493 GB, free: 25.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.00635, allocations: 41.58 kB / 0.5493 GB, free: 25.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.593e-05/0.006385, allocations: 334.8 kB / 0.5497 GB, free: 25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.328e-05/0.006419, allocations: 40.53 kB / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.654e-05/0.006475, allocations: 164.9 kB / 0.5498 GB, free: 24.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.132e-05/0.006537, allocations: 80.17 kB / 0.5499 GB, free: 24.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.006539, allocations: 0 / 0.5499 GB, free: 24.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.649e-05/0.006635, allocations: 147.8 kB / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.006668, allocations: 36.83 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.006673, allocations: 0 / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.006683, allocations: 4 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.006797, allocations: 35.91 kB / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.0068, allocations: 4 kB / 0.5501 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/0.006863, allocations: 11.38 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.006873, allocations: 11.98 kB / 0.5502 GB, free: 24.4 MB / 410.7 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.59e-05/0.006929, allocations: 120.7 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.006941, allocations: 11.94 kB / 0.5503 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.007052, allocations: 94.36 kB / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.007055, allocations: 7.984 kB / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.007057, allocations: 0 / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.007063, allocations: 8.031 kB / 0.5504 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.842e-05/0.007141, allocations: 101.8 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.007142, allocations: 0 / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.053e-05/0.007213, allocations: 23.98 kB / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.538e-05/0.007228, allocations: 7.953 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.007231, allocations: 7.938 kB / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.007244, allocations: 4 kB / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.007246, allocations: 0 / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.007247, allocations: 3.984 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.007383, allocations: 130.6 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.0074, allocations: 11.97 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.582e-05/0.007446, allocations: 11.98 kB / 0.5507 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.007495, allocations: 15.97 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.007502, allocations: 0 / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.799e-05/0.007529, allocations: 38.52 kB / 0.5507 GB, free: 23.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.00753, allocations: 0 / 0.5507 GB, free: 23.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001169/0.007646, allocations: 32 kB / 0.5508 GB, free: 23.73 MB / 410.7 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.52e-05/0.007712, allocations: 92.28 kB / 0.5509 GB, free: 23.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.007852, allocations: 157.9 kB / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.007857, allocations: 0 / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.154e-05/0.007909, allocations: 45.53 kB / 0.5511 GB, free: 23.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.008063, allocations: 57.83 kB / 0.5511 GB, free: 23.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.01055, allocations: 342.2 kB / 0.5514 GB, free: 22.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.66e-05/0.01057, allocations: 71.83 kB / 0.5515 GB, free: 22.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.659e-05/0.01064, allocations: 17.42 kB / 0.5515 GB, free: 22.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.01074, allocations: 95.34 kB / 0.5516 GB, free: 22.79 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01074, allocations: 0 / 0.5516 GB, free: 22.79 MB / 410.7 MB Notification: Performance of Templates: time 0.003742/0.01448, allocations: 2.74 MB / 0.5543 GB, free: 20.12 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2409785920754075]