Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin.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.001095/0.001095, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001745/0.00284, 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.001101/0.001101, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001556/0.002656, 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.106/1.106, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09808/1.204, allocations: 53.68 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.8764/0.8764, allocations: 291.2 MB / 0.5227 GB, free: 52.7 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03747/0.9138, allocations: 21.05 MB / 0.5433 GB, free: 31.71 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.Tetrodotoxin.Tetrodotoxin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.5446 GB, free: 30.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.794e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin): time 0.002063/0.002091, allocations: 1.964 MB / 0.5466 GB, free: 28.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007733/0.002864, allocations: 0.5718 MB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.597e-05/0.00293, allocations: 7.938 kB / 0.5471 GB, free: 27.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.575e-05/0.002986, allocations: 15.92 kB / 0.5472 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.003262, allocations: 71.41 kB / 0.5472 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.003446, allocations: 59.83 kB / 0.5473 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.003692, allocations: 168 kB / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.753e-05/0.003749, allocations: 9.969 kB / 0.5474 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.003945, allocations: 115.7 kB / 0.5476 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.004212, allocations: 79.77 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.004245, allocations: 8 kB / 0.5476 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.989e-05/0.004275, allocations: 8 kB / 0.5476 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.189e-05/0.004337, allocations: 23.92 kB / 0.5477 GB, free: 27.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.004396, allocations: 27.94 kB / 0.5477 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.004552, allocations: 67.77 kB / 0.5478 GB, free: 27.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.372e-05/0.004566, allocations: 3.938 kB / 0.5478 GB, free: 27.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.004567, allocations: 0 / 0.5478 GB, free: 27.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.004583, allocations: 4 kB / 0.5478 GB, free: 27.09 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.0005968/0.00518, allocations: 388.1 kB / 0.5481 GB, free: 26.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.005214, allocations: 11.89 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.005254, allocations: 20.92 kB / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.00541, allocations: 161.8 kB / 0.5483 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.87e-05/0.005428, allocations: 4.375 kB / 0.5483 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.005454, allocations: 8.375 kB / 0.5483 GB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.005588, allocations: 81.02 kB / 0.5484 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.0056, allocations: 3.938 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.00561, allocations: 8 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.005617, allocations: 0 / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.244e-05/0.005659, allocations: 15.98 kB / 0.5484 GB, free: 26.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.005938, allocations: 197.8 kB / 0.5486 GB, free: 26.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.006055, allocations: 122.9 kB / 0.5487 GB, free: 26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.006084, allocations: 24.84 kB / 0.5488 GB, free: 25.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.006103, allocations: 8 kB / 0.5488 GB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/0.006232, allocations: 94.17 kB / 0.5489 GB, free: 25.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 8.82e-07/0.006233, allocations: 0 / 0.5489 GB, free: 25.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001669/0.006399, allocations: 81.66 kB / 0.5489 GB, free: 25.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.00643, allocations: 59.39 kB / 0.549 GB, free: 25.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.536e-05/0.006505, allocations: 146.6 kB / 0.5491 GB, free: 25.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.006518, allocations: 25.7 kB / 0.5492 GB, free: 25.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.006553, allocations: 104.3 kB / 0.5493 GB, free: 25.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.006578, allocations: 43.61 kB / 0.5493 GB, free: 25.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.006618, allocations: 37.59 kB / 0.5493 GB, free: 25.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.048e-05/0.006659, allocations: 334.8 kB / 0.5497 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.551e-05/0.006694, allocations: 48.52 kB / 0.5497 GB, free: 24.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.495e-05/0.006749, allocations: 161 kB / 0.5499 GB, free: 24.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.565e-05/0.006815, allocations: 80.16 kB / 0.5499 GB, free: 24.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.006818, allocations: 0 / 0.5499 GB, free: 24.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001021/0.006921, allocations: 147.8 kB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.006957, allocations: 44.66 kB / 0.5501 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.006963, allocations: 2.75 kB / 0.5501 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.006973, allocations: 0 / 0.5501 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.007084, allocations: 35.92 kB / 0.5502 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.007088, allocations: 4 kB / 0.5502 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.364e-05/0.007152, allocations: 11.98 kB / 0.5502 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.007161, allocations: 4 kB / 0.5502 GB, free: 24.38 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.295e-05/0.007214, allocations: 116.7 kB / 0.5503 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.007227, allocations: 15.92 kB / 0.5503 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.007346, allocations: 98.36 kB / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.007348, allocations: 0 / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.00735, allocations: 0 / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.007354, allocations: 4 kB / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.026e-05/0.007445, allocations: 105.8 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007446, allocations: 0 / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.368e-05/0.00752, allocations: 23.98 kB / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.007533, allocations: 7.953 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.007536, allocations: 7.922 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.007548, allocations: 4 kB / 0.5505 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.007549, allocations: 0 / 0.5505 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.00755, allocations: 4 kB / 0.5506 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.007682, allocations: 131.2 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.0077, allocations: 15.97 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.647e-05/0.007746, allocations: 7.984 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.007788, allocations: 19.59 kB / 0.5507 GB, free: 23.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.007795, allocations: 4 kB / 0.5507 GB, free: 23.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.734e-05/0.007822, allocations: 42.5 kB / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007822, allocations: 0 / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001106/0.007933, allocations: 32 kB / 0.5508 GB, free: 23.7 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.974e-05/0.008003, allocations: 88.3 kB / 0.5509 GB, free: 23.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.008136, allocations: 157.9 kB / 0.551 GB, free: 23.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.008142, allocations: 0 / 0.551 GB, free: 23.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.105e-05/0.008193, allocations: 40.78 kB / 0.5511 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.008346, allocations: 50.92 kB / 0.5511 GB, free: 23.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.01088, allocations: 350.2 kB / 0.5514 GB, free: 22.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.702e-05/0.0109, allocations: 67.84 kB / 0.5515 GB, free: 22.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.921e-05/0.01096, allocations: 21.45 kB / 0.5515 GB, free: 22.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.01107, allocations: 95.34 kB / 0.5516 GB, free: 22.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.273e-06/0.01107, allocations: 0 / 0.5516 GB, free: 22.77 MB / 410.7 MB Notification: Performance of Templates: time 0.003827/0.0149, allocations: 2.736 MB / 0.5543 GB, free: 20.11 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Tetrodotoxin.Tetrodotoxin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.623155207373202]