Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.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.0007186/0.0007186, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009001/0.001619, 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.0007374/0.0007374, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009636/0.001701, 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 1.025/1.025, allocations: 177.2 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08219/1.107, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7412/0.7412, allocations: 291.1 MB / 0.5225 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03485/0.7761, allocations: 21.04 MB / 0.5431 GB, free: 31.8 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.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.5444 GB, free: 30.43 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/3.012e-05, allocations: 10.19 kB / 0.5444 GB, free: 30.42 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b): time 0.003366/0.003397, allocations: 1.942 MB / 0.5463 GB, free: 28.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.004446, allocations: 0.5728 MB / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.85e-05/0.004515, allocations: 3.938 kB / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.059e-05/0.004575, allocations: 11.91 kB / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.004898, allocations: 63.55 kB / 0.5469 GB, free: 27.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.005102, allocations: 59.84 kB / 0.547 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.005344, allocations: 172 kB / 0.5472 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.111e-05/0.005395, allocations: 13.84 kB / 0.5472 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.005605, allocations: 119.7 kB / 0.5473 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.005858, allocations: 75.83 kB / 0.5474 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.00589, allocations: 4 kB / 0.5474 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.673e-05/0.005917, allocations: 8 kB / 0.5474 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.005978, allocations: 19.94 kB / 0.5474 GB, free: 27.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.469e-05/0.006042, allocations: 27.94 kB / 0.5474 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.006202, allocations: 83.61 kB / 0.5475 GB, free: 27.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.85e-05/0.006221, allocations: 4 kB / 0.5475 GB, free: 27.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.006222, allocations: 0 / 0.5475 GB, free: 27.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.006237, allocations: 0 / 0.5475 GB, free: 27.24 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.0007289/0.006965, allocations: 388.1 kB / 0.5479 GB, free: 26.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.007003, allocations: 15.89 kB / 0.5479 GB, free: 26.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.00706, allocations: 16.92 kB / 0.5479 GB, free: 26.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.007241, allocations: 146.9 kB / 0.548 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.007269, allocations: 4.375 kB / 0.548 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.007296, allocations: 8.375 kB / 0.5481 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.007472, allocations: 76.95 kB / 0.5481 GB, free: 26.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.007485, allocations: 11.94 kB / 0.5481 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.007497, allocations: 4 kB / 0.5481 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.007503, allocations: 0 / 0.5481 GB, free: 26.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.637e-05/0.007569, allocations: 23.98 kB / 0.5482 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.007917, allocations: 197.8 kB / 0.5484 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.008079, allocations: 118.9 kB / 0.5485 GB, free: 26.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.462e-05/0.008124, allocations: 28.78 kB / 0.5485 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.008141, allocations: 0 / 0.5485 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.008292, allocations: 90.25 kB / 0.5486 GB, free: 26.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.953e-06/0.008294, allocations: 0 / 0.5486 GB, free: 26.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000204/0.008498, allocations: 81.66 kB / 0.5487 GB, free: 25.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.008529, allocations: 59.34 kB / 0.5487 GB, free: 25.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.878e-05/0.008628, allocations: 150.8 kB / 0.5489 GB, free: 25.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.008646, allocations: 29.7 kB / 0.5489 GB, free: 25.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.008686, allocations: 104 kB / 0.549 GB, free: 25.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.008723, allocations: 39.67 kB / 0.549 GB, free: 25.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/0.008789, allocations: 45.64 kB / 0.5491 GB, free: 25.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.2e-05/0.008841, allocations: 326.8 kB / 0.5494 GB, free: 25.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.763e-05/0.008898, allocations: 48.52 kB / 0.5494 GB, free: 25.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.862e-05/0.008977, allocations: 150.1 kB / 0.5496 GB, free: 24.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.56e-05/0.009073, allocations: 90.34 kB / 0.5497 GB, free: 24.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009075, allocations: 0 / 0.5497 GB, free: 24.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001407/0.009215, allocations: 147.8 kB / 0.5498 GB, free: 24.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.009248, allocations: 37.7 kB / 0.5498 GB, free: 24.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.009252, allocations: 0 / 0.5498 GB, free: 24.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.009264, allocations: 8.016 kB / 0.5498 GB, free: 24.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.009415, allocations: 31.98 kB / 0.5499 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.009418, allocations: 0 / 0.5499 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.009524, allocations: 19.92 kB / 0.5499 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.009539, allocations: 11.12 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 6.786e-05/0.009607, allocations: 120.6 kB / 0.55 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.00963, allocations: 11.92 kB / 0.55 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.009783, allocations: 94.42 kB / 0.5501 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.009786, allocations: 0 / 0.5501 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.009787, allocations: 4 kB / 0.5501 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.009791, allocations: 0 / 0.5501 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.009893, allocations: 101.8 kB / 0.5502 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.009895, allocations: 4 kB / 0.5502 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.01002, allocations: 27.92 kB / 0.5503 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.01005, allocations: 7.953 kB / 0.5503 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.01005, allocations: 3.938 kB / 0.5503 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.01006, allocations: 7.984 kB / 0.5503 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.01007, allocations: 4 kB / 0.5503 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01007, allocations: 0 / 0.5503 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.01026, allocations: 130.7 kB / 0.5504 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.01029, allocations: 7.938 kB / 0.5504 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.679e-05/0.01038, allocations: 12.02 kB / 0.5504 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.01043, allocations: 19.97 kB / 0.5504 GB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.01044, allocations: 3 kB / 0.5504 GB, free: 23.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.657e-05/0.01049, allocations: 39.12 kB / 0.5505 GB, free: 23.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01049, allocations: 3.938 kB / 0.5505 GB, free: 23.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001855/0.01067, allocations: 35.98 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.238e-05/0.01074, allocations: 84.36 kB / 0.5506 GB, free: 23.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.01088, allocations: 153.6 kB / 0.5507 GB, free: 23.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.01088, allocations: 4 kB / 0.5507 GB, free: 23.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.911e-05/0.01092, allocations: 40.83 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.0001486/0.01107, allocations: 47.95 kB / 0.5508 GB, free: 23.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.01438, allocations: 387.9 kB / 0.5512 GB, free: 23.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.916e-05/0.01443, allocations: 97.81 kB / 0.5513 GB, free: 22.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.01458, allocations: 91.34 kB / 0.5514 GB, free: 22.89 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01458, allocations: 0 / 0.5514 GB, free: 22.89 MB / 410.7 MB Notification: Performance of Templates: time 0.006213/0.02079, allocations: 2.055 MB / 0.5534 GB, free: 20.88 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_b.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.156589333899319]