Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.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.0008122/0.0008122, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002195, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008544/0.0008544, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.001931, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9829/0.9829, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08995/1.073, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.8073/0.8073, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02758/0.8349, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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_c,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.079e-05, allocations: 10.25 kB / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c): time 0.002023/0.002044, allocations: 1.942 MB / 0.5464 GB, free: 28.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006643/0.002708, allocations: 0.5677 MB / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.002751, allocations: 7.938 kB / 0.547 GB, free: 28.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.358e-05/0.002795, allocations: 11.86 kB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.003023, allocations: 67.48 kB / 0.5471 GB, free: 27.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.003169, allocations: 63.83 kB / 0.5471 GB, free: 27.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.003341, allocations: 176 kB / 0.5473 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.571e-05/0.003377, allocations: 5.969 kB / 0.5473 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.003522, allocations: 111.7 kB / 0.5474 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.003693, allocations: 71.78 kB / 0.5475 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.003715, allocations: 8 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.897e-05/0.003734, allocations: 8 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/0.003775, allocations: 23.92 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.003822, allocations: 35.94 kB / 0.5476 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.003932, allocations: 75.73 kB / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.651e-05/0.003949, allocations: 3.938 kB / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003949, allocations: 0 / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.003966, allocations: 0 / 0.5476 GB, free: 27.36 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.0005223/0.004488, allocations: 388.1 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.653e-05/0.004515, allocations: 11.89 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.004555, allocations: 12.92 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.004693, allocations: 162.8 kB / 0.5482 GB, free: 26.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.004709, allocations: 4.375 kB / 0.5482 GB, free: 26.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.004731, allocations: 12.38 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.004859, allocations: 73.03 kB / 0.5483 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.004867, allocations: 3.938 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.004876, allocations: 3.984 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.004883, allocations: 7.438 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.872e-05/0.004942, allocations: 23.92 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.005197, allocations: 197.9 kB / 0.5485 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.005316, allocations: 122.9 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.005348, allocations: 16.86 kB / 0.5486 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.005362, allocations: 4 kB / 0.5486 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.005481, allocations: 90.17 kB / 0.5487 GB, free: 26.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.005482, allocations: 0 / 0.5487 GB, free: 26.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001494/0.005632, allocations: 85.66 kB / 0.5488 GB, free: 26.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.005654, allocations: 51.41 kB / 0.5488 GB, free: 25.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.089e-05/0.005725, allocations: 154.6 kB / 0.549 GB, free: 25.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.005737, allocations: 29.7 kB / 0.549 GB, free: 25.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.969e-05/0.005767, allocations: 100.3 kB / 0.5491 GB, free: 25.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.005795, allocations: 39.62 kB / 0.5492 GB, free: 25.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.005844, allocations: 49.56 kB / 0.5492 GB, free: 25.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.806e-05/0.005902, allocations: 326.8 kB / 0.5495 GB, free: 25.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.385e-05/0.005946, allocations: 44.53 kB / 0.5496 GB, free: 25.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.307e-05/0.006009, allocations: 169.2 kB / 0.5497 GB, free: 25.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.909e-05/0.006078, allocations: 76.17 kB / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.00608, allocations: 0 / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001125/0.006192, allocations: 147.8 kB / 0.5499 GB, free: 24.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.006219, allocations: 37.7 kB / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.006223, allocations: 0 / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.006231, allocations: 0 / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.00635, allocations: 35.92 kB / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.006353, allocations: 0 / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/0.006435, allocations: 15.98 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.006445, allocations: 0 / 0.55 GB, free: 24.68 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.096e-05/0.006496, allocations: 128.6 kB / 0.5501 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.006513, allocations: 11.94 kB / 0.5501 GB, free: 24.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.006625, allocations: 102.4 kB / 0.5502 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.006628, allocations: 4.031 kB / 0.5503 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.006629, allocations: 0 / 0.5503 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.006633, allocations: 3.984 kB / 0.5503 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.25e-05/0.006716, allocations: 105.8 kB / 0.5504 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006717, allocations: 0 / 0.5504 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.406e-05/0.006811, allocations: 23.98 kB / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.006826, allocations: 7.953 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.006828, allocations: 3.938 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.006839, allocations: 0 / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.00684, allocations: 4 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.006842, allocations: 3.312 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.006985, allocations: 143.2 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.007006, allocations: 7.938 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.837e-05/0.007064, allocations: 11.98 kB / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.007099, allocations: 7.984 kB / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.007108, allocations: 11.98 kB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.03e-05/0.007138, allocations: 34.52 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007139, allocations: 4 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001612/0.0073, allocations: 28 kB / 0.5506 GB, free: 23.99 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.205e-05/0.007362, allocations: 104.2 kB / 0.5507 GB, free: 23.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.007489, allocations: 148.7 kB / 0.5509 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.007493, allocations: 0 / 0.5509 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.581e-05/0.007539, allocations: 44.77 kB / 0.5509 GB, free: 23.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.007699, allocations: 51.48 kB / 0.551 GB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.01098, allocations: 358.2 kB / 0.5513 GB, free: 23.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.772e-05/0.011, allocations: 71.83 kB / 0.5514 GB, free: 23.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.79e-05/0.01107, allocations: 17.48 kB / 0.5514 GB, free: 23.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.01119, allocations: 87.34 kB / 0.5515 GB, free: 23.05 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01119, allocations: 3.938 kB / 0.5515 GB, free: 23.05 MB / 410.7 MB Notification: Performance of Templates: time 0.004242/0.01543, allocations: 2.743 MB / 0.5542 GB, free: 20.37 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_c.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3221122846007347]