Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.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.001086/0.001086, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001112/0.001112, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.9889/0.9889, allocations: 177.1 MB / 203.5 MB, free: 5.773 MB / 186.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.7245/0.7245, allocations: 291.1 MB / 0.5382 GB, free: 51.9 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_a,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 0.6973 GB, free: 10.44 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.596e-05, allocations: 6.219 kB / 0.6973 GB, free: 10.43 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a): time 0.001971/0.001987, allocations: 1.821 MB / 0.6991 GB, free: 8.594 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006403/0.002627, allocations: 0.5497 MB / 0.6996 GB, free: 8.039 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.002677, allocations: 0 / 0.6996 GB, free: 8.039 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.217e-05/0.002769, allocations: 15.86 kB / 0.6997 GB, free: 8.023 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002852/0.003055, allocations: 67.48 kB / 0.6997 GB, free: 7.957 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.003235, allocations: 71.27 kB / 0.6998 GB, free: 7.891 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.003397, allocations: 167.3 kB / 0.7 GB, free: 7.727 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.003437, allocations: 5.312 kB / 0.7 GB, free: 7.723 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.92e-05/0.003536, allocations: 91.78 kB / 0.7 GB, free: 7.633 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.003717, allocations: 83.75 kB / 0.7001 GB, free: 7.551 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.00374, allocations: 4 kB / 0.7001 GB, free: 7.547 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.657e-05/0.003756, allocations: 12 kB / 0.7001 GB, free: 7.535 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.721e-05/0.003803, allocations: 31.91 kB / 0.7002 GB, free: 7.504 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.003847, allocations: 35.91 kB / 0.7002 GB, free: 7.469 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.003957, allocations: 107.6 kB / 0.7003 GB, free: 7.363 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.00396, allocations: 4 kB / 0.7003 GB, free: 7.359 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003961, allocations: 0 / 0.7003 GB, free: 7.359 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.003966, allocations: 4 kB / 0.7003 GB, free: 7.355 MB / 410.8 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.0004994/0.004466, allocations: 387.5 kB / 0.7007 GB, free: 6.941 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.004497, allocations: 12.03 kB / 0.7007 GB, free: 6.93 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.004537, allocations: 12.84 kB / 0.7007 GB, free: 6.918 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.004666, allocations: 150.1 kB / 0.7009 GB, free: 6.746 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.004678, allocations: 8.375 kB / 0.7009 GB, free: 6.738 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.004699, allocations: 8.359 kB / 0.7009 GB, free: 6.73 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.004849, allocations: 98.17 kB / 0.701 GB, free: 6.629 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.004856, allocations: 3.938 kB / 0.701 GB, free: 6.625 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.004867, allocations: 4 kB / 0.701 GB, free: 6.621 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.004871, allocations: 0 / 0.701 GB, free: 6.621 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.00501, allocations: 83.86 kB / 0.701 GB, free: 6.539 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.005326, allocations: 288.4 kB / 0.7013 GB, free: 6.227 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.00553, allocations: 134.4 kB / 0.7015 GB, free: 6.086 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.792e-05/0.005608, allocations: 52.81 kB / 0.7015 GB, free: 6.031 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.005621, allocations: 4 kB / 0.7015 GB, free: 6.027 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.005771, allocations: 119.2 kB / 0.7016 GB, free: 5.898 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.005772, allocations: 0 / 0.7016 GB, free: 5.898 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003727/0.006145, allocations: 201.5 kB / 0.7018 GB, free: 5.699 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.006174, allocations: 51.41 kB / 0.7019 GB, free: 5.637 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.006291, allocations: 161.2 kB / 0.702 GB, free: 5.473 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.006309, allocations: 29.7 kB / 0.702 GB, free: 5.438 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.006356, allocations: 104 kB / 0.7021 GB, free: 5.332 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.006386, allocations: 39.64 kB / 0.7022 GB, free: 5.293 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.006447, allocations: 45.7 kB / 0.7022 GB, free: 5.242 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.006489, allocations: 326.8 kB / 0.7025 GB, free: 4.914 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.006648, allocations: 77.66 kB / 0.7026 GB, free: 4.832 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.006825, allocations: 206 kB / 0.7028 GB, free: 4.594 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.00708, allocations: 140.4 kB / 0.7029 GB, free: 4.449 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.007084, allocations: 7.938 kB / 0.7029 GB, free: 4.441 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003573/0.007441, allocations: 244.8 kB / 0.7032 GB, free: 4.184 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.007469, allocations: 36.05 kB / 0.7032 GB, free: 4.145 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.007476, allocations: 0 / 0.7032 GB, free: 4.145 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.007496, allocations: 0 / 0.7032 GB, free: 4.145 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.007636, allocations: 27.92 kB / 0.7032 GB, free: 4.117 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.007643, allocations: 0 / 0.7032 GB, free: 4.117 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.00777, allocations: 23.92 kB / 0.7033 GB, free: 4.094 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.007786, allocations: 7.984 kB / 0.7033 GB, free: 4.086 MB / 410.8 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 7.692e-05/0.007863, allocations: 126.4 kB / 0.7034 GB, free: 3.953 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.007884, allocations: 15.91 kB / 0.7034 GB, free: 3.938 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003488/0.008233, allocations: 170.3 kB / 0.7036 GB, free: 3.77 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.008236, allocations: 0 / 0.7036 GB, free: 3.77 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.00824, allocations: 0 / 0.7036 GB, free: 3.77 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.008244, allocations: 0 / 0.7036 GB, free: 3.77 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.008363, allocations: 157.2 kB / 0.7037 GB, free: 3.586 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.008365, allocations: 3.938 kB / 0.7037 GB, free: 3.582 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.008501, allocations: 23.98 kB / 0.7037 GB, free: 3.559 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.008504, allocations: 4 kB / 0.7038 GB, free: 3.555 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.008518, allocations: 0 / 0.7038 GB, free: 3.555 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.008521, allocations: 4 kB / 0.7038 GB, free: 3.551 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.008523, allocations: 0 / 0.7038 GB, free: 3.551 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004666/0.008989, allocations: 252.9 kB / 0.704 GB, free: 3.285 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.009014, allocations: 15.88 kB / 0.704 GB, free: 3.27 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.009042, allocations: 0 / 0.704 GB, free: 3.27 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.009147, allocations: 20.05 kB / 0.704 GB, free: 3.25 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/0.009212, allocations: 11.97 kB / 0.704 GB, free: 3.238 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.009226, allocations: 11.94 kB / 0.7041 GB, free: 3.227 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.607e-05/0.009302, allocations: 123.1 kB / 0.7042 GB, free: 3.105 MB / 410.8 MB Notification: Performance of sort global known variables: time 1e-07/0.009303, allocations: 3.938 kB / 0.7042 GB, free: 3.102 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000219/0.009522, allocations: 35.98 kB / 0.7042 GB, free: 3.066 MB / 410.8 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 9.004e-05/0.009612, allocations: 99.25 kB / 0.7043 GB, free: 2.957 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003851/0.009997, allocations: 212.9 kB / 0.7045 GB, free: 2.73 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.009998, allocations: 4 kB / 0.7045 GB, free: 2.727 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.01015, allocations: 63.89 kB / 0.7046 GB, free: 2.664 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.01043, allocations: 47.92 kB / 0.7046 GB, free: 2.617 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006361/0.01106, allocations: 339.2 kB / 0.7049 GB, free: 2.254 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.147e-05/0.01113, allocations: 97.8 kB / 0.705 GB, free: 2.141 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/0.01119, allocations: 16.5 kB / 0.705 GB, free: 2.121 MB / 410.8 MB Notification: Performance of SimCode: time 4.71e-07/0.01119, allocations: 0 / 0.705 GB, free: 2.121 MB / 410.8 MB Notification: Performance of Templates: time 0.003191/0.01438, allocations: 2.056 MB / 0.7071 GB, free: 88 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.NickelTrioxide.NickelTrioxide_Shinohara2017_nio_a.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.555925167165697]