Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.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.0007047/0.0007047, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009147/0.001619, 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.0006993/0.0006993, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008815/0.001581, 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.9489/0.9489, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08694/1.036, allocations: 53.65 MB / 243.2 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.7598/0.7598, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03251/0.7923, 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.Diazoxon.Diazoxon,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.5446 GB, free: 30.53 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.987e-06/1.062e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon): time 0.001692/0.001703, allocations: 1.963 MB / 0.5465 GB, free: 28.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006703/0.002373, allocations: 0.5692 MB / 0.547 GB, free: 27.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.646e-05/0.002419, allocations: 0 / 0.547 GB, free: 27.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.597e-05/0.002465, allocations: 11.86 kB / 0.547 GB, free: 27.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.002677, allocations: 71.47 kB / 0.5471 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.002797, allocations: 71.77 kB / 0.5472 GB, free: 27.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.002942, allocations: 164 kB / 0.5473 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.673e-05/0.003019, allocations: 9.953 kB / 0.5473 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.003171, allocations: 111.8 kB / 0.5475 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.003341, allocations: 75.77 kB / 0.5475 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.003361, allocations: 11.94 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.688e-05/0.003378, allocations: 4 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.032e-05/0.003418, allocations: 27.92 kB / 0.5476 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.003459, allocations: 27.94 kB / 0.5476 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.85e-05/0.003558, allocations: 71.77 kB / 0.5477 GB, free: 27.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.429e-05/0.003572, allocations: 7.938 kB / 0.5477 GB, free: 27.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003573, allocations: 0 / 0.5477 GB, free: 27.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.003588, allocations: 0 / 0.5477 GB, free: 27.32 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.000477/0.004065, allocations: 388.1 kB / 0.548 GB, free: 26.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.481e-05/0.00409, allocations: 11.89 kB / 0.548 GB, free: 26.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.004124, allocations: 12.92 kB / 0.5481 GB, free: 26.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.004243, allocations: 166.8 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.004257, allocations: 8.375 kB / 0.5482 GB, free: 26.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.004278, allocations: 14.06 kB / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.004386, allocations: 73.02 kB / 0.5483 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.004393, allocations: 3.938 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.455e-06/0.004401, allocations: 0 / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.004405, allocations: 0 / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.257e-05/0.004448, allocations: 23.98 kB / 0.5483 GB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.004665, allocations: 197.8 kB / 0.5485 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.004766, allocations: 110.9 kB / 0.5486 GB, free: 26.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.663e-05/0.004793, allocations: 32.84 kB / 0.5487 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.004805, allocations: 0 / 0.5487 GB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.004914, allocations: 94.22 kB / 0.5488 GB, free: 26.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.004915, allocations: 0 / 0.5488 GB, free: 26.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001286/0.005044, allocations: 89.59 kB / 0.5488 GB, free: 26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.005066, allocations: 55.41 kB / 0.5489 GB, free: 25.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.607e-05/0.005122, allocations: 146.6 kB / 0.549 GB, free: 25.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.005133, allocations: 29.7 kB / 0.5491 GB, free: 25.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.005158, allocations: 96.28 kB / 0.5492 GB, free: 25.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.00518, allocations: 47.62 kB / 0.5492 GB, free: 25.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.005217, allocations: 45.58 kB / 0.5492 GB, free: 25.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.059e-05/0.005247, allocations: 326.8 kB / 0.5496 GB, free: 25.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.078e-05/0.005278, allocations: 44.52 kB / 0.5496 GB, free: 25.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.878e-05/0.005327, allocations: 158.1 kB / 0.5497 GB, free: 24.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.342e-05/0.00538, allocations: 88.09 kB / 0.5498 GB, free: 24.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005382, allocations: 0 / 0.5498 GB, free: 24.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.295e-05/0.005465, allocations: 150.8 kB / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.00549, allocations: 33.69 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.005493, allocations: 0 / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.864e-06/0.005501, allocations: 8 kB / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.005606, allocations: 39.23 kB / 0.5501 GB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.005608, allocations: 0 / 0.5501 GB, free: 24.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.387e-05/0.005672, allocations: 11.98 kB / 0.5501 GB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.00568, allocations: 4 kB / 0.5501 GB, free: 24.62 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 4.292e-05/0.005723, allocations: 120.7 kB / 0.5502 GB, free: 24.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.005736, allocations: 15.92 kB / 0.5502 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.782e-05/0.005834, allocations: 94.36 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.005836, allocations: 8 kB / 0.5503 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.005838, allocations: 48 / 0.5503 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.728e-06/0.005842, allocations: 3.984 kB / 0.5503 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.479e-05/0.005907, allocations: 101.8 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.005908, allocations: 0 / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.714e-05/0.005975, allocations: 23.98 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.005988, allocations: 11.94 kB / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.005991, allocations: 3.938 kB / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.006, allocations: 4 kB / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.006001, allocations: 0 / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006002, allocations: 0 / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.006116, allocations: 138.6 kB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.006133, allocations: 3.938 kB / 0.5506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.481e-05/0.006178, allocations: 15.98 kB / 0.5506 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.00621, allocations: 11.97 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.006215, allocations: 4 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.493e-05/0.00624, allocations: 43.11 kB / 0.5506 GB, free: 23.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00624, allocations: 0 / 0.5506 GB, free: 23.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001057/0.006346, allocations: 32 kB / 0.5507 GB, free: 23.94 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.045e-05/0.006406, allocations: 92.33 kB / 0.5508 GB, free: 23.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.006517, allocations: 145.9 kB / 0.5509 GB, free: 23.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.006521, allocations: 4 kB / 0.5509 GB, free: 23.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.737e-05/0.006558, allocations: 41.53 kB / 0.5509 GB, free: 23.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.006689, allocations: 54.7 kB / 0.551 GB, free: 23.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.009084, allocations: 358.5 kB / 0.5513 GB, free: 23.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.081e-05/0.009105, allocations: 71.83 kB / 0.5514 GB, free: 23.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.412e-05/0.009159, allocations: 13.5 kB / 0.5514 GB, free: 23.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.394e-05/0.009253, allocations: 87.33 kB / 0.5515 GB, free: 23.02 MB / 410.7 MB Notification: Performance of SimCode: time 5e-07/0.009253, allocations: 0 / 0.5515 GB, free: 23.02 MB / 410.7 MB Notification: Performance of Templates: time 0.003289/0.01254, allocations: 2.749 MB / 0.5542 GB, free: 20.34 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.227176603861153]