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.0008555/0.0008555, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001263/0.002118, allocations: 443.8 kB / 10.3 MB, free: 400 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.00117/0.00117, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001507/0.002678, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9405/0.9405, allocations: 177.2 MB / 189.5 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08441/1.025, allocations: 53.65 MB / 243.2 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.7435/0.7435, allocations: 291.1 MB / 0.5225 GB, free: 52.79 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02595/0.7694, allocations: 21.04 MB / 0.5431 GB, free: 31.82 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.443e-06/1.443e-06, allocations: 0 / 0.5444 GB, free: 30.43 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.786e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.43 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine): time 0.001746/0.001764, allocations: 1.948 MB / 0.5463 GB, free: 28.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000644/0.002408, allocations: 0.573 MB / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.002454, allocations: 0 / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.062e-05/0.002495, allocations: 11.86 kB / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.002701, allocations: 67.55 kB / 0.547 GB, free: 27.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001339/0.002835, allocations: 59.83 kB / 0.547 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.002996, allocations: 172 kB / 0.5472 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.003032, allocations: 17.89 kB / 0.5472 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.003175, allocations: 115.7 kB / 0.5473 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.003348, allocations: 71.84 kB / 0.5474 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.00337, allocations: 4 kB / 0.5474 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.842e-05/0.003389, allocations: 8 kB / 0.5474 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.003431, allocations: 27.92 kB / 0.5474 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.003474, allocations: 27.94 kB / 0.5475 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.003597, allocations: 83.61 kB / 0.5475 GB, free: 27.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.341e-05/0.003611, allocations: 0 / 0.5475 GB, free: 27.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.003612, allocations: 4 kB / 0.5475 GB, free: 27.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.003622, allocations: 0 / 0.5475 GB, free: 27.23 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.0005252/0.004147, allocations: 388.1 kB / 0.5479 GB, free: 26.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.004177, allocations: 15.89 kB / 0.5479 GB, free: 26.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.004216, allocations: 8.938 kB / 0.5479 GB, free: 26.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.004344, allocations: 146.9 kB / 0.5481 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.004362, allocations: 8.375 kB / 0.5481 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.004384, allocations: 8.359 kB / 0.5481 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.004508, allocations: 76.97 kB / 0.5482 GB, free: 26.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.004515, allocations: 11.94 kB / 0.5482 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.004524, allocations: 0 / 0.5482 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.00453, allocations: 0 / 0.5482 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.458e-05/0.004575, allocations: 23.97 kB / 0.5482 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002726/0.004848, allocations: 205.8 kB / 0.5484 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.004962, allocations: 118 kB / 0.5485 GB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.004994, allocations: 20.84 kB / 0.5485 GB, free: 26.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.005009, allocations: 3.938 kB / 0.5485 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.005118, allocations: 98.23 kB / 0.5486 GB, free: 26.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.00512, allocations: 0 / 0.5486 GB, free: 26.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001487/0.005269, allocations: 85.66 kB / 0.5487 GB, free: 25.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.005296, allocations: 59.56 kB / 0.5488 GB, free: 25.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.63e-05/0.005362, allocations: 146.6 kB / 0.5489 GB, free: 25.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.005375, allocations: 37.64 kB / 0.5489 GB, free: 25.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.005403, allocations: 92.08 kB / 0.549 GB, free: 25.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.005427, allocations: 39.67 kB / 0.5491 GB, free: 25.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.005471, allocations: 45.64 kB / 0.5491 GB, free: 25.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.177e-05/0.005503, allocations: 326.8 kB / 0.5494 GB, free: 25.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.692e-05/0.00554, allocations: 48.52 kB / 0.5495 GB, free: 25.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-05/0.005593, allocations: 162.1 kB / 0.5496 GB, free: 24.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.21e-05/0.005655, allocations: 79 kB / 0.5497 GB, free: 24.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.005658, allocations: 0 / 0.5497 GB, free: 24.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.883e-05/0.005757, allocations: 151.8 kB / 0.5498 GB, free: 24.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.005785, allocations: 33.7 kB / 0.5499 GB, free: 24.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.00579, allocations: 0 / 0.5499 GB, free: 24.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.005797, allocations: 0 / 0.5499 GB, free: 24.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.005909, allocations: 31.98 kB / 0.5499 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.005915, allocations: 0 / 0.5499 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.293e-05/0.005988, allocations: 23.92 kB / 0.5499 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.005999, allocations: 7.375 kB / 0.5499 GB, free: 24.54 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 4.886e-05/0.006048, allocations: 120.6 kB / 0.55 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.006064, allocations: 15.92 kB / 0.5501 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.006171, allocations: 94.42 kB / 0.5502 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.006174, allocations: 0 / 0.5502 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.006175, allocations: 4 kB / 0.5502 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.006179, allocations: 0 / 0.5502 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.753e-05/0.006256, allocations: 101.7 kB / 0.5503 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006257, allocations: 4 kB / 0.5503 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.996e-05/0.006337, allocations: 31.92 kB / 0.5503 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.006353, allocations: 7.953 kB / 0.5503 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.006356, allocations: 3.938 kB / 0.5503 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.006368, allocations: 0 / 0.5503 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.00637, allocations: 4 kB / 0.5503 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.006372, allocations: 0 / 0.5503 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.006511, allocations: 134.7 kB / 0.5504 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.00653, allocations: 7.922 kB / 0.5504 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.821e-05/0.006578, allocations: 12.03 kB / 0.5504 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.006614, allocations: 15.97 kB / 0.5505 GB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.006621, allocations: 0 / 0.5505 GB, free: 23.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.816e-05/0.006649, allocations: 51.05 kB / 0.5505 GB, free: 23.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006649, allocations: 0 / 0.5505 GB, free: 23.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001204/0.006769, allocations: 32 kB / 0.5505 GB, free: 23.86 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 7.544e-05/0.006845, allocations: 80.36 kB / 0.5506 GB, free: 23.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.006973, allocations: 148.7 kB / 0.5508 GB, free: 23.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.006977, allocations: 7.938 kB / 0.5508 GB, free: 23.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.886e-05/0.007016, allocations: 37.58 kB / 0.5508 GB, free: 23.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.007167, allocations: 51.28 kB / 0.5509 GB, free: 23.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.009785, allocations: 384.1 kB / 0.5512 GB, free: 23.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.033e-05/0.009825, allocations: 101.8 kB / 0.5513 GB, free: 22.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.009961, allocations: 91.34 kB / 0.5514 GB, free: 22.9 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009962, allocations: 3.938 kB / 0.5514 GB, free: 22.89 MB / 410.7 MB Notification: Performance of Templates: time 0.002192/0.01215, allocations: 2.044 MB / 0.5534 GB, free: 20.88 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cotinine.Cotinine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.105845490470529]