Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_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.001079/0.001079, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001503/0.002582, 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.001095/0.001095, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001384/0.002479, 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 1.057/1.057, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1274/1.185, allocations: 53.66 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.9354/0.9354, allocations: 291.2 MB / 0.5227 GB, free: 52.7 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0504/0.9858, allocations: 21.04 MB / 0.5432 GB, free: 31.72 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.NickelOxide.NickelOxide_Shinohara2017_nio_b,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.5446 GB, free: 30.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.503e-05/3.725e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b): time 0.003767/0.003804, allocations: 1.958 MB / 0.5465 GB, free: 28.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.005045, allocations: 0.569 MB / 0.5471 GB, free: 27.78 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.005176, allocations: 0 / 0.5471 GB, free: 27.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.005289, allocations: 15.86 kB / 0.5471 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005142/0.005803, allocations: 67.47 kB / 0.5472 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.006085, allocations: 67.78 kB / 0.5472 GB, free: 27.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.006414, allocations: 168 kB / 0.5474 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.856e-05/0.006493, allocations: 5.969 kB / 0.5474 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.00674, allocations: 119.7 kB / 0.5475 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.007065, allocations: 71.78 kB / 0.5476 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.007109, allocations: 8 kB / 0.5476 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.31e-05/0.007142, allocations: 8 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.825e-05/0.00722, allocations: 23.91 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.655e-05/0.007297, allocations: 31.94 kB / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.007502, allocations: 71.75 kB / 0.5477 GB, free: 27.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.356e-05/0.007525, allocations: 4 kB / 0.5477 GB, free: 27.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.007527, allocations: 0 / 0.5477 GB, free: 27.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.683e-05/0.007554, allocations: 3.938 kB / 0.5477 GB, free: 27.12 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.001021/0.008575, allocations: 388.1 kB / 0.5481 GB, free: 26.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.008627, allocations: 8.031 kB / 0.5481 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.366e-05/0.008691, allocations: 16.92 kB / 0.5481 GB, free: 26.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.008939, allocations: 158.8 kB / 0.5483 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.008977, allocations: 12.38 kB / 0.5483 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.009019, allocations: 8.375 kB / 0.5483 GB, free: 26.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.009232, allocations: 73.03 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.009246, allocations: 3.938 kB / 0.5484 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.009262, allocations: 7.984 kB / 0.5484 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.009272, allocations: 4 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.514e-05/0.009337, allocations: 15.98 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.0098, allocations: 197.8 kB / 0.5486 GB, free: 26.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.009984, allocations: 122.9 kB / 0.5487 GB, free: 26.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/0.01002, allocations: 20.86 kB / 0.5487 GB, free: 26.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.01005, allocations: 4 kB / 0.5487 GB, free: 26.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.01026, allocations: 86.23 kB / 0.5488 GB, free: 25.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.655e-06/0.01027, allocations: 0 / 0.5488 GB, free: 25.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002409/0.01051, allocations: 89.59 kB / 0.5489 GB, free: 25.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.01056, allocations: 55.41 kB / 0.549 GB, free: 25.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.01068, allocations: 150.6 kB / 0.5491 GB, free: 25.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.0107, allocations: 29.7 kB / 0.5491 GB, free: 25.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/0.01074, allocations: 104.1 kB / 0.5492 GB, free: 25.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.01078, allocations: 39.62 kB / 0.5493 GB, free: 25.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-05/0.01086, allocations: 45.84 kB / 0.5493 GB, free: 25.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.103e-05/0.01092, allocations: 326.8 kB / 0.5496 GB, free: 25.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.01098, allocations: 44.47 kB / 0.5497 GB, free: 24.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.171e-05/0.01107, allocations: 158.1 kB / 0.5498 GB, free: 24.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.01117, allocations: 88.11 kB / 0.5499 GB, free: 24.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.01118, allocations: 0 / 0.5499 GB, free: 24.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001842/0.01136, allocations: 150.8 kB / 0.55 GB, free: 24.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.623e-05/0.01142, allocations: 29.7 kB / 0.5501 GB, free: 24.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.01143, allocations: 4 kB / 0.5501 GB, free: 24.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.01144, allocations: 4 kB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.01163, allocations: 31.92 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.01163, allocations: 0 / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.01174, allocations: 19.3 kB / 0.5501 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.01175, allocations: 4 kB / 0.5501 GB, free: 24.43 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 9.38e-05/0.01185, allocations: 128.6 kB / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.01187, allocations: 11.94 kB / 0.5503 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.01208, allocations: 98.36 kB / 0.5504 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.01208, allocations: 4 kB / 0.5504 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.01208, allocations: 0 / 0.5504 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.01209, allocations: 3.984 kB / 0.5504 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.01223, allocations: 101.8 kB / 0.5505 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.01223, allocations: 0 / 0.5505 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.01238, allocations: 23.98 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.01241, allocations: 7.953 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.01242, allocations: 7.938 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.01244, allocations: 4 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01244, allocations: 0 / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.01245, allocations: 4 kB / 0.5505 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.0127, allocations: 139.2 kB / 0.5506 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.01273, allocations: 11.94 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.014e-05/0.01281, allocations: 7.984 kB / 0.5507 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.01288, allocations: 11.98 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.0129, allocations: 7.984 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.279e-05/0.01295, allocations: 39.12 kB / 0.5507 GB, free: 23.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01295, allocations: 0 / 0.5507 GB, free: 23.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.01317, allocations: 32 kB / 0.5507 GB, free: 23.75 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 0.0001606/0.01333, allocations: 92.38 kB / 0.5508 GB, free: 23.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.01356, allocations: 157.9 kB / 0.551 GB, free: 23.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/0.01358, allocations: 0 / 0.551 GB, free: 23.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.464e-05/0.01366, allocations: 48.78 kB / 0.551 GB, free: 23.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.01391, allocations: 49.47 kB / 0.5511 GB, free: 23.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/0.01777, allocations: 350.2 kB / 0.5514 GB, free: 23.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.604e-05/0.01782, allocations: 71.83 kB / 0.5515 GB, free: 22.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.01794, allocations: 21.52 kB / 0.5515 GB, free: 22.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.0181, allocations: 87.34 kB / 0.5516 GB, free: 22.81 MB / 410.7 MB Notification: Performance of SimCode: time 1.793e-06/0.0181, allocations: 0 / 0.5516 GB, free: 22.81 MB / 410.7 MB Notification: Performance of Templates: time 0.006259/0.02436, allocations: 2.752 MB / 0.5543 GB, free: 20.13 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelOxide.NickelOxide_Shinohara2017_nio_b.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.85613189637661]